Is there a way to have top ticks in and bottom tick out in matplotlib plots? Sometimes I have data hiding ticks and I would like to set ticks out only for the side that is affected.
The following code will affect both top and bottom or both right and left.
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot( 111 )
ax.plot( [0, 1, 3], 'o' )
ax.tick_params( direction = 'out' )
plt.show()