matplotlib.axis.XAxis.tick_top

XAxis.tick_top(self)[source]

Move ticks and ticklabels (if present) to the top of the axes.

Examples using matplotlib.axis.XAxis.tick_top