Axis formatting

Axis formatting controls how tick labels are displayed: limits (set_xlim), scale (set_yscale('log')), number or date formats, label rotation. The ticker and dates modules provide formatters to display thousands, percentages or readable months.

Example

ax.yaxis.set_major_formatter(PercentFormatter(1.0))

Related concepts

The whole glossary