Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
matplotlib / 3.2 / _as_gen / matplotlib.axis.axis.set_major_formatter.html

matplotlib.axis.Axis.set_major_formatter

Axis.set_major_formatter(self, formatter) [source]

Set the formatter of the major ticker.

Parameters:
formatterFormatter

Examples using matplotlib.axis.Axis.set_major_formatter

Creating a timeline with lines, dates, and text

Creating a timeline with lines, dates, and text

Date tick labels

Date tick labels

Custom tick formatter for time series

Custom tick formatter for time series

Labeling ticks using engineering notation

Labeling ticks using engineering notation

Dollar Ticks

Dollar Ticks

Bachelor's degrees by gender

Bachelor's degrees by gender

3D surface (color map)

3D surface (color map)

SkewT-logP diagram: using transforms and custom projections

SkewT-logP diagram: using transforms and custom projections

Centering labels between ticks

Centering labels between ticks

Custom Ticker1

Custom Ticker1

Formatting date ticks using ConciseDateFormatter

Formatting date ticks using ConciseDateFormatter

Date Demo Convert

Date Demo Convert

Date Demo Rrule

Date Demo Rrule

Date Index Formatter

Date Index Formatter

Major and minor ticks

Major and minor ticks

Setting tick labels from a list of values

Setting tick labels from a list of values

The Lifecycle of a Plot

The Lifecycle of a Plot

Artist tutorial

Artist tutorial

Choosing Colormaps in Matplotlib

Choosing Colormaps in Matplotlib

Text in Matplotlib Plots

Text in Matplotlib Plots

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.axis.Axis.set_major_formatter.html

  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev