I'm using matshow() in matplotlib and the figures generated has the xticklabels on top by default. Is there a way to put the xticklabels on the bottom instead?
Appreciate any help with this. /M
Try doing the following to adjust the x ticks positions:
ax.xaxis.set_ticks_position('bottom')
Similarly, for the y ticks:
ax.yaxis.set_ticks_position('left')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With