Permalink
Browse files

Updated "what's new" to highlight the new locator interface.

  • Loading branch information...
1 parent b5fb5c6 commit 45268651630ed5a0259f59faa395136b9d86ac9b @pelson committed Aug 15, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 doc/users/whats_new.rst
@@ -17,6 +17,18 @@ This page just covers the highlights -- for the full story, see the
new in matplotlib-1.2
=====================
+Locator interface
+-----------------
+
+Philip Elson exposed the intelligence behind the tick Locator classes with a
+simple interface. For instance, to get no more than 5 sensible steps which
+span the values 10 and 19.5::
+
+ >>> import matplotlib.ticker as mticker
+ >>> locator = mticker.MaxNLocator(nbins=5)
+ >>> print(locator.tick_values(10, 19.5))
+ [ 10. 12. 14. 16. 18. 20.]
+
Tri-Surface Plots
-----------------

0 comments on commit 4526865

Please sign in to comment.