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 4526865

Browse filesBrowse files
committed
Updated "what's new" to highlight the new locator interface.
1 parent b5fb5c6 commit 4526865
Copy full SHA for 4526865

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+12
-0
lines changed

‎doc/users/whats_new.rst

Copy file name to clipboardExpand all lines: doc/users/whats_new.rst
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ This page just covers the highlights -- for the full story, see the
1717
new in matplotlib-1.2
1818
=====================
1919

20+
Locator interface
21+
-----------------
22+
23+
Philip Elson exposed the intelligence behind the tick Locator classes with a
24+
simple interface. For instance, to get no more than 5 sensible steps which
25+
span the values 10 and 19.5::
26+
27+
>>> import matplotlib.ticker as mticker
28+
>>> locator = mticker.MaxNLocator(nbins=5)
29+
>>> print(locator.tick_values(10, 19.5))
30+
[ 10. 12. 14. 16. 18. 20.]
31+
2032
Tri-Surface Plots
2133
-----------------
2234

0 commit comments

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