How to move labels from bottom to top without adding "ticks" How to move labels from bottom to top without adding "ticks" python python

How to move labels from bottom to top without adding "ticks"


Try this:

plt.tick_params(axis='both', which='major', labelsize=10, labelbottom = False, bottom=False, top = False, labeltop=True)

the parameter top=False means no ticks. :)


Ok finally found.

Needs a

ax.tick_params(length=0)