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.5 / _as_gen / matplotlib.axis.axis.set_major_locator.html

matplotlib.axis.Axis.set_major_locator

Axis.set_major_locator(locator)[source]

Set the locator of the major ticker.

Parameters
locatorLocator

Examples using matplotlib.axis.Axis.set_major_locator

Hatch-filled histograms

Hatch-filled histograms

Creating a timeline with lines, dates, and text

Creating a timeline with lines, dates, and text

Date tick labels

Date tick labels

Anatomy of a figure

Anatomy of a figure

3D surface (colormap)

3D surface (colormap)

3D surface (checkerboard)

3D surface (checkerboard)

Scales

Scales

MRI With EEG

MRI With EEG

SkewT-logP diagram: using transforms and custom projections

SkewT-logP diagram: using transforms and custom projections

Centering labels between ticks

Centering labels between ticks

Formatting date ticks using ConciseDateFormatter

Formatting date ticks using ConciseDateFormatter

Date Demo Convert

Date Demo Convert

Placing date ticks using recurrence rules

Placing date ticks using recurrence rules

Major and minor ticks

Major and minor ticks

Setting tick labels from a list of values

Setting tick labels from a list of values

Choosing Colormaps in Matplotlib

Choosing Colormaps in Matplotlib

Text in Matplotlib Plots

Text in Matplotlib Plots

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

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