@@ -7,6 +7,144 @@ What's new in matplotlib
77This page just covers the highlights -- for the full story, see the
88`CHANGELOG <http://matplotlib.sourceforge.net/_static/CHANGELOG >`_
99
10+
11+ .. _whats-new-1-1 :
12+
13+ new in matplotlib-1.1
14+ =====================
15+
16+ Animation
17+ ---------
18+
19+ Ryan May invested significant effort to create a backend-independent
20+ framework for creating animated figures. The :mod: `~matplotlib.animation `
21+ module is intended to replace the difficult-to-understand,
22+ backend-specific examples that used to exist in the :ref: `examples-index `
23+ listings.
24+
25+ This framework should be considered a beta feature for matplotlib, but
26+ we highly encourage users to try it out and provide feedback.
27+
28+ Check out the :ref: `animation-examples-index ` and try them out!
29+
30+
31+ Tight Layout
32+ ------------
33+
34+ A frequent issue raised by users of matplotlib is the lack of a layout
35+ engine to nicely space out elements of the plots. While matplotlib still
36+ adheres to the philosphy of giving users complete control over the placement
37+ of plot elements, Jae-Joon Lee created the :mod: `~matplotlib.tight_layout `
38+ module to address the most common layout issues.
39+
40+ :mod: `~matplotlib.tight_layout ` will adjust the spacing between subplots
41+ so that the axis labels do not overlap with neighboring subplots. A
42+ :ref: `plotting-guide-tight-layout ` has been created to show how to use
43+ this new tool.
44+
45+ Full IPython 0.11 compatibility
46+ -------------------------------
47+
48+ The `IPython <http://ipython.org >`_ team has recently released v0.11 of
49+ their interactive python shell. The matplotlib and IPython teams worked
50+ to ensure that our packages work well together. This release of matplotlib
51+ is fully compatible with ipython.
52+
53+ Legend
54+ ------
55+
56+ Jae-Joon Lee has also been working on revamping how plot legends are handled
57+ in matplotlib. This has resulted in some immediate enhancements. First,
58+ legends for complex plots such as :meth: `~matplotlib.pyplot.stem ` plots
59+ will now display correctly. Second, the 'best' placement of a legend has
60+ been improved in the presence of NANs.
61+
62+ See :ref: `legend-complex-plots ` for more detailed explanation and
63+ examples.
64+
65+ .. plot :: mpl_examples/pylab_examples/legend_demo4.py
66+
67+ mplot3d
68+ -------
69+
70+ In continuing the efforts to make 3D plotting in matplotlib just as easy
71+ as 2D plotting, Ben Root has made several improvements to the
72+ :mod: `~mpl_toolkits.mplot3d ` module.
73+
74+ * :class: `~mpl_toolkits.mplot3d.axes3d.Axes3D ` has been
75+ improved to bring the class towards feature-parity with regular
76+ Axes objects
77+
78+ * Documentation for :ref: `toolkit_mplot3d-index ` was significantly expanded
79+
80+ * Axis labels and orientation improved
81+
82+ * Most 3D plotting functions now support empty inputs
83+
84+ * Ticker offset display added:
85+ .. plot :: mpl_examples/mplot3d/offset_demo.py
86+
87+ * :meth: `~mpl_toolkits.mplot3d.axes3d.Axes3D.contourf `
88+ gains *zdir * and *offset * kwargs. You can now do this:
89+ .. plot :: mpl_examples/mplot3d/contourf3d_demo2.py
90+
91+ Numerix support removed
92+ -----------------------
93+
94+ After more than two years of deprecation warnings, Numerix support has
95+ now been completely removed from matplotlib.
96+
97+ Markers
98+ -------
99+
100+ The list of available markers for :meth: `~matplotlib.pyplot.plot ` and
101+ :meth: `~matplotlib.pyplot.scatter ` has now been merged. While they
102+ were mostly similar, some markers existed for one function, but not
103+ the other. This merge did result in a conflict for the 'd' diamond
104+ marker. Now, 'd' will be interpreated to always mean "thin" diamond
105+ while 'D' will mean "regular" diamond.
106+
107+ Thanks to Michael Droettboom for this effort.
108+
109+ Other improvements
110+ ------------------
111+
112+ * Unit support for polar axes and :func: `~matplotlib.axes.Axes.arrow `
113+
114+ * :class: `~matplotlib.projections.polar.PolarAxes ` gains getters and setters for
115+ "theta_direction", and "theta_offset" to allow for theta to go in
116+ either the clock-wise or counter-clockwise direction and to specify where zero
117+ degrees should be placed.
118+ :meth: `~matplotlib.projections.polar.PolarAxes.set_theta_zero_location ` is an
119+ added convenience function.
120+
121+ * Fixed error in argument handling for tri-functions such as
122+ :meth: `~matplotlib.pyplot.tripcolor `
123+
124+ * ``axes.labelweight `` parameter added to rcParams.
125+
126+ * For :meth: `~matplotlib.pyplot.imshow `, *interpolation='nearest' * will
127+ now always perform an interpolation. A "none" option has been added to
128+ indicate no interpolation at all.
129+
130+ * An error in the Hammer projection has been fixed.
131+
132+ * *clabel * for :meth: `~matplotlib.pyplot.contour ` now accepts a callable.
133+ Thanks to Daniel Hyams for the original patch!
134+
135+ * Jae-Joon Lee added the :class: `~mpl_toolkits.axes_grid1.axes_divider.HBox `
136+ and :class: `~mpl_toolkits.axes_grid1.axes_divider.VBox ` classes.
137+
138+ * Christoph Gohike improved memory usage in :meth: `~matplotlib.pyplot.imshow `.
139+
140+ * :meth: `~matplotlib.pyplot.scatter ` now accepts empty inputs.
141+
142+ * The behavior for 'symlog' scale has been fixed, but this may result
143+ in some minor changes to existing plots.
144+
145+
146+ .. _whats-new-1-0 :
147+
10148new in matplotlib-1.0
11149======================
12150
@@ -53,7 +191,7 @@ talented developers for years. :func:`~matplotlib.pyplot.contourf`
53191now handles interior masked regions, and the boundaries of line and
54192filled contours coincide.
55193
56- Additionally, he has contributed a new module ` matplotlib.tri ` and
194+ Additionally, he has contributed a new module :mod: ` ~ matplotlib.tri ` and
57195helper function :func: `~matplotlib.pyplot.triplot ` for creating and
58196plotting unstructured triangular grids.
59197
@@ -139,6 +277,8 @@ help from Jae-Joon Lee, Michael Droettboom, Christoph Gohlke and
139277Michiel de Hoon.
140278
141279
280+ .. _whats-new-0-99 :
281+
142282new in matplotlib-0.99
143283======================
144284
0 commit comments