Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4bb7b6f

Browse filesBrowse files
committed
DOC: dflt_style_changes, MaxNLocator algorithm changed
1 parent 4d2de40 commit 4bb7b6f
Copy full SHA for 4bb7b6f

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎doc/users/dflt_style_changes.rst

Copy file name to clipboardExpand all lines: doc/users/dflt_style_changes.rst
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,11 @@ or create a new `~matplotlib.ticker.MaxNLocator`::
968968
import matplotlib.ticker as mticker
969969
ax.set_major_locator(mticker.MaxNLocator(nbins=9, steps=[1, 2, 5, 10])
970970

971+
The algorithm used by `~matplotlib.ticker.MaxNLocator` has been
972+
improved, and this may change the choice of tick locations in some
973+
cases. This also affects `~matplotlib.ticker.AutoLocator`, which
974+
uses ``MaxNLocator`` internally.
975+
971976
For a log-scaled axis the default locator is the
972977
`~matplotlib.ticker.LogLocator`. Previously the maximum number
973978
of ticks was set to 15, and could not be changed. Now there is a

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.