@@ -7,6 +7,10 @@ What's new in matplotlib
7
7
This page just covers the highlights -- for the full story, see the
8
8
`CHANGELOG <http://matplotlib.sourceforge.net/_static/CHANGELOG >`_
9
9
10
+ .. note ::
11
+ Matplotlib version 1.1 is the last major release compatible with Python
12
+ versions 2.4 to 2.7. The next major release will support
13
+ versions 2.6, 2.7, and 3.1 and higher.
10
14
11
15
.. _whats-new-1-1 :
12
16
@@ -16,16 +20,15 @@ new in matplotlib-1.1
16
20
Animation
17
21
---------
18
22
19
- Ryan May invested significant effort to create a backend-independent
23
+ Ryan May has written a backend-independent
20
24
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.
25
+ module is intended to replace the
26
+ backend-specific examples formerly in the :ref: `examples-index `
27
+ listings. Examples using the new framework are in
28
+ :ref: `animation-examples-index `.
24
29
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!
30
+ This should be considered as a beta release of the framework;
31
+ please try it and provide feedback.
29
32
30
33
31
34
Tight Layout
@@ -42,19 +45,28 @@ so that the axis labels do not overlap with neighboring subplots. A
42
45
:ref: `plotting-guide-tight-layout ` has been created to show how to use
43
46
this new tool.
44
47
45
- Full IPython 0.11 compatibility
46
- -------------------------------
48
+ PyQT4, PySide, and IPython
49
+ --------------------------
50
+
51
+ Gerald Storer made the Qt4 backend compatible with PySide as
52
+ well as PyQT4. At present, however, PySide does not support
53
+ the PyOS_InputHook mechanism for handling gui events while
54
+ waiting for text input, so it cannot be used with the new
55
+ version 0.11 of `IPython <http://ipython.org >`_. Until this
56
+ feature appears in PySide, IPython users should use
57
+ the PyQT4 wrapper for QT4, which remains the matplotlib default.
58
+
59
+ An rcParam entry, "backend.qt4", has been added to allow users
60
+ to select PyQt4, PyQt4v2, or PySide. The latter two use the
61
+ Version 2 Qt API. In most cases, users can ignore this rcParam
62
+ variable; it is available to aid in testing, and to provide control
63
+ for users who are embedding matplotlib in a PyQt4 or PySide app.
47
64
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
65
53
66
Legend
54
67
------
55
68
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,
69
+ Jae-Joon Lee has improved plot legends. First,
58
70
legends for complex plots such as :meth: `~matplotlib.pyplot.stem ` plots
59
71
will now display correctly. Second, the 'best' placement of a legend has
60
72
been improved in the presence of NANs.
@@ -130,18 +142,25 @@ Other improvements
130
142
* An error in the Hammer projection has been fixed.
131
143
132
144
* *clabel * for :meth: `~matplotlib.pyplot.contour ` now accepts a callable.
133
- Thanks to Daniel Hyams for the original patch!
145
+ Thanks to Daniel Hyams for the original patch.
134
146
135
147
* Jae-Joon Lee added the :class: `~mpl_toolkits.axes_grid1.axes_divider.HBox `
136
148
and :class: `~mpl_toolkits.axes_grid1.axes_divider.VBox ` classes.
137
149
138
- * Christoph Gohike improved memory usage in :meth: `~matplotlib.pyplot.imshow `.
150
+ * Christoph Gohlke reduced memory usage in :meth: `~matplotlib.pyplot.imshow `.
139
151
140
152
* :meth: `~matplotlib.pyplot.scatter ` now accepts empty inputs.
141
153
142
154
* The behavior for 'symlog' scale has been fixed, but this may result
143
155
in some minor changes to existing plots.
144
156
157
+ * Peter Butterworth added named figure support to
158
+ :func: `~matplotlib.pyplot.figure `.
159
+
160
+ * Michiel de Hoon has modified the MacOSX backend to make
161
+ its interactive behavior consistent with the other backends.
162
+
163
+ * Many bug fixes and documentation improvements.
145
164
146
165
.. _whats-new-1-0 :
147
166
0 commit comments