0

I don't need the xlabels. because of this I wish to delete/leave this. How can I do that?

plt.title('Amount of kill per country', pad= 15, fontsize = 20)
plt.ylabel('Kills', fontsize=14)
plt.xlabel('Country', fontsize=14)
plt.show()

[ploting and coding][1]


  [1]: https://i.stack.imgur.com/4km5J.png
Joao Moura
  • 15
  • 4
  • Two good options here: https://stackoverflow.com/a/2176591/42346 – mechanical_meat Nov 12 '21 at 15:35
  • I don't think that stack overflow link answers this question. This is about the axis labels, not the tick labels. OTOH, I'm not sure what the question is. Don't type `plt.xlabel()` and you won't get an xlabel. – Jody Klymak Nov 12 '21 at 15:55
  • A most simplicty way is change the color of xlabel. Turn the color "white" like background. – Joao Moura Nov 13 '21 at 20:25

0 Answers0