Feed on
Posts
Comments

to only show the bottom ticks in a matplotlib figure:

axis_x = ax.xaxis

axis_x.tick_bottom()

alternatively, you can use the tick_params method:

ax.tick_params(‘x’,top=’off’)


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.