Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 175f28e

Browse files
committed
added whats new doc
svn path=/trunk/matplotlib/; revision=6538
1 parent c06e295 commit 175f28e

File tree

3 files changed

+254
-4
lines changed

3 files changed

+254
-4
lines changed

doc/_templates/indexsidebar.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<h3>Download</h3>
22
<p>Current version: <b>{{ version }}</b></p>
33

4-
<p>Download matplotlib from the
5-
sourceforge <a href="http://sourceforge.net/projects/matplotlib">project</a>
6-
page (but first take a look at the <a href="{{
7-
pathto('users/installing') }}">installing</a> page).</p>
4+
<p>Download matplotlib from the sourceforge <a
5+
href="http://sourceforge.net/projects/matplotlib">project</a> page
6+
(but first take a look at the <a href="{{ pathto('users/installing')
7+
}}">installing</a> page). Here's a summary of <a href="{{
8+
pathto('users/whats_new') }}">what's new</a>. </p>
89

910
<p>There are several matplotlib addon <a href="{{
1011
pathto('users/toolkits') }}">toolkits</a>, including the projection

doc/users/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ User's Guide
2424
plotting.rst
2525
toolkits.rst
2626
screenshots.rst
27+
whats_new.rst
2728
license.rst
2829
credits.rst
2930

doc/users/whats_new.rst

Lines changed: 248 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
.. _whats-new:
2+
3+
***************************
4+
What's new in matplotlib
5+
***************************
6+
7+
.. _whats-new-0-98-4:
8+
9+
What new in matplotlib 0.98.4
10+
==============================
11+
12+
It's been four months since the last matplotlib release, and there are
13+
a lot of new features and bug-fixes
14+
15+
.. _legend-refactor:
16+
17+
Legend enhancements
18+
--------------------
19+
20+
Jae-Joon has rewritten the legend class, and added support for
21+
multiple columns and rows, as well as fancy box drawing. See
22+
:ref:`pylab_examples-legend_demo3`.
23+
24+
25+
.. _fancy-annotations:
26+
27+
Fancy annotations and arrows
28+
-----------------------------
29+
30+
Jae-Joon has added lot's of support to annotations for drawing fancy
31+
boxes and connectors in annotations. See
32+
:ref:`pylab_examples-annotation_demo2` and
33+
:ref:`pylab_examples-fancyarrow_demo`.
34+
35+
.. _psd-amplitude:
36+
37+
psd amplitude scaling
38+
-------------------------
39+
40+
Ryan May did a lot of work to rationalize the amplitude scaling of
41+
:func:`~matplotlib.pyplot.psd` and friends. See
42+
:ref:`pylab_examples-psd_demo2`. and :ref:`pylab_examples-psd_demo3`.
43+
The changes should increase `MATLAB™ <http://www.mathworks.com>`
44+
compatabililty and increase scaling options.
45+
46+
.. _fill-between:
47+
48+
Fill between
49+
------------------
50+
51+
Added a :func:`~matplotlib.pyplot.fill_between` function to make it
52+
easier to do shaded region plots in the presence of masked data. See
53+
:ref:`pylab_examples-fill_between`.
54+
55+
Lots more
56+
-----------
57+
58+
Here are the 0.98.4 notes from the CHANGELOG::
59+
60+
Added mdehoon's native macosx backend from sf patch 2179017 - JDH
61+
62+
Removed the prints in the set_*style commands. Return the list of
63+
pprinted strings instead - JDH
64+
65+
Some of the changes Michael made to improve the output of the
66+
property tables in the rest docs broke of made difficult to use
67+
some of the interactive doc helpers, eg setp and getp. Having all
68+
the rest markup in the ipython shell also confused the docstrings.
69+
I added a new rc param docstring.harcopy, to format the docstrings
70+
differently for hardcopy and other use. Ther ArtistInspector
71+
could use a little refactoring now since there is duplication of
72+
effort between the rest out put and the non-rest output - JDH
73+
74+
Updated spectral methods (psd, csd, etc.) to scale one-sided
75+
densities by a factor of 2 and, optionally, scale all densities by
76+
the sampling frequency. This gives better MatLab
77+
compatibility. -RM
78+
79+
Fixed alignment of ticks in colorbars. -MGD
80+
81+
drop the deprecated "new" keyword of np.histogram() for numpy 1.2
82+
or later. -JJL
83+
84+
Fixed a bug in svg backend that new_figure_manager() ignores
85+
keywords arguments such as figsize, etc. -JJL
86+
87+
Fixed a bug that the handlelength of the new legend class set too
88+
short when numpoints=1 -JJL
89+
90+
Added support for data with units (e.g. dates) to
91+
Axes.fill_between. -RM
92+
93+
Added fancybox keyword to legend. Also applied some changes for
94+
better look, including baseline adjustment of the multiline texts
95+
so that it is center aligned. -JJL
96+
97+
The transmuter classes in the patches.py are reorganized as
98+
subclasses of the Style classes. A few more box and arrow styles
99+
are added. -JJL
100+
101+
Fixed a bug in the new legend class that didn't allowed a tuple of
102+
coordinate vlaues as loc. -JJL
103+
104+
Improve checks for external dependencies, using subprocess
105+
(instead of deprecated popen*) and distutils (for version
106+
checking) - DSD
107+
108+
Reimplementaion of the legend which supports baseline alignement,
109+
multi-column, and expand mode. - JJL
110+
111+
Fixed histogram autoscaling bug when bins or range are given
112+
explicitly (fixes Debian bug 503148) - MM
113+
114+
Added rcParam axes.unicode_minus which allows plain hypen for
115+
minus when False - JDH
116+
117+
Added scatterpoints support in Legend. patch by Erik Tollerud -
118+
JJL
119+
120+
Fix crash in log ticking. - MGD
121+
122+
Added static helper method BrokenHBarCollection.span_where and
123+
Axes/pyplot method fill_between. See
124+
examples/pylab/fill_between.py - JDH
125+
126+
Add x_isdata and y_isdata attributes to Artist instances, and use
127+
them to determine whether either or both coordinates are used when
128+
updating dataLim. This is used to fix autoscaling problems that
129+
had been triggered by axhline, axhspan, axvline, axvspan. - EF
130+
131+
Update the psd(), csd(), cohere(), and specgram() methods of Axes
132+
and the csd() cohere(), and specgram() functions in mlab to be in
133+
sync with the changes to psd(). In fact, under the hood, these
134+
all call the same core to do computations. - RM
135+
136+
Add 'pad_to' and 'sides' parameters to mlab.psd() to allow
137+
controlling of zero padding and returning of negative frequency
138+
components, respecitively. These are added in a way that does not
139+
change the API. - RM
140+
141+
Fix handling of c kwarg by scatter; generalize is_string_like to
142+
accept numpy and numpy.ma string array scalars. - RM and EF
143+
144+
Fix a possible EINTR problem in dviread, which might help when
145+
saving pdf files from the qt backend. - JKS
146+
147+
Fix bug with zoom to rectangle and twin axes - MGD
148+
149+
Added Jae Joon's fancy arrow, box and annotation enhancements --
150+
see examples/pylab_examples/annotation_demo2.py
151+
152+
Autoscaling is now supported with shared axes - EF
153+
154+
Fixed exception in dviread that happened with Minion - JKS
155+
156+
set_xlim, ylim now return a copy of the viewlim array to avoid
157+
modify inplace surprises
158+
159+
Added image thumbnail generating function
160+
matplotlib.image.thumbnail. See examples/misc/image_thumbnail.py
161+
- JDH
162+
163+
Applied scatleg patch based on ideas and work by Erik Tollerud and
164+
Jae-Joon Lee. - MM
165+
166+
Fixed bug in pdf backend: if you pass a file object for output
167+
instead of a filename, e.g. in a wep app, we now flush the object
168+
at the end. - JKS
169+
170+
Add path simplification support to paths with gaps. - EF
171+
172+
Fix problem with AFM files that don't specify the font's full name
173+
or family name. - JKS
174+
175+
Added 'scilimits' kwarg to Axes.ticklabel_format() method, for
176+
easy access to the set_powerlimits method of the major
177+
ScalarFormatter. - EF
178+
179+
Experimental new kwarg borderpad to replace pad in legend, based
180+
on suggestion by Jae-Joon Lee. - EF
181+
182+
Allow spy to ignore zero values in sparse arrays, based on patch
183+
by Tony Yu. Also fixed plot to handle empty data arrays, and
184+
fixed handling of markers in figlegend. - EF
185+
186+
Introduce drawstyles for lines. Transparently split linestyles
187+
like 'steps--' into drawstyle 'steps' and linestyle '--'. Legends
188+
always use drawstyle 'default'. - MM
189+
190+
Fixed quiver and quiverkey bugs (failure to scale properly when
191+
resizing) and added additional methods for determining the arrow
192+
angles - EF
193+
194+
Fix polar interpolation to handle negative values of theta - MGD
195+
196+
Reorganized cbook and mlab methods related to numerical
197+
calculations that have little to do with the goals of those two
198+
modules into a separate module numerical_methods.py Also, added
199+
ability to select points and stop point selection with keyboard in
200+
ginput and manual contour labeling code. Finally, fixed contour
201+
labeling bug. - DMK
202+
203+
Fix backtick in Postscript output. - MGD
204+
205+
[ 2089958 ] Path simplification for vector output backends
206+
Leverage the simplification code exposed through path_to_polygons
207+
to simplify certain well-behaved paths in the vector backends
208+
(PDF, PS and SVG). "path.simplify" must be set to True in
209+
matplotlibrc for this to work. - MGD
210+
211+
Add "filled" kwarg to Path.intersects_path and
212+
Path.intersects_bbox. - MGD
213+
214+
Changed full arrows slightly to avoid an xpdf rendering problem
215+
reported by Friedrich Hagedorn. - JKS
216+
217+
Fix conversion of quadratic to cubic Bezier curves in PDF and PS
218+
backends. Patch by Jae-Joon Lee. - JKS
219+
220+
Added 5-point star marker to plot command q- EF
221+
222+
Fix hatching in PS backend - MGD
223+
224+
Fix log with base 2 - MGD
225+
226+
Added support for bilinear interpolation in
227+
NonUniformImage; patch by Gregory Lielens. - EF
228+
229+
Added support for multiple histograms with data of
230+
different length - MM
231+
232+
Fix step plots with log scale - MGD
233+
234+
Fix masked arrays with markers in non-Agg backends - MGD
235+
236+
Fix clip_on kwarg so it actually works correctly - MGD
237+
238+
Fix locale problems in SVG backend - MGD
239+
240+
fix quiver so masked values are not plotted - JSW
241+
242+
improve interactive pan/zoom in qt4 backend on windows - DSD
243+
244+
Fix more bugs in NaN/inf handling. In particular, path
245+
simplification (which does not handle NaNs or infs) will be turned
246+
off automatically when infs or NaNs are present. Also masked
247+
arrays are now converted to arrays with NaNs for consistent
248+
handling of masks and NaNs - MGD and EF

0 commit comments

Comments
 (0)