hide upper ticks in matplotlib figure
August 31st, 2011 by Lawrence David
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’)