3
The file dviread.py has a (very limited and fragile) dvi reader
4
for usetex support. The API might change in the future so don't
7
Removed deprecated support for a float value as a gray-scale;
8
now it must be a string, like '0.5'. Added alpha kwarg to
9
ColorConverter.to_rgba_list.
11
New method set_bounds(vmin, vmax) for formatters, locators sets
12
the viewInterval and dataInterval from floats.
14
Removed deprecated colorbar_classic.
16
Line2D.get_xdata and get_ydata valid_only=False kwarg is replaced
17
by orig=True. When True, it returns the original data, otherwise
18
the processed data (masked, converted)
20
Some modifications to the units interface.
21
units.ConversionInterface.tickers renamed to
22
units.ConversionInterface.axisinfo and it now returns a
23
units.AxisInfo object rather than a tuple. This will make it
24
easier to add axis info functionality (eg I added a default label
25
on this iteration) w/o having to change the tuple length and hence
26
the API of the client code everytime new functionality is added.
27
Also, units.ConversionInterface.convert_to_value is now simply
28
named units.ConversionInterface.convert.
30
Axes.errorbar uses Axes.vlines and Axes.hlines to draw its error
31
limits int he vertical and horizontal direction. As you'll see
32
in the changes below, these funcs now return a LineCollection
33
rather than a list of lines. The new return signature for
34
errorbar is ylins, caplines, errorcollections where
35
errorcollections is a xerrcollection, yerrcollection
37
Axes.vlines and Axes.hlines now create and returns a LineCollection, not a list
38
of lines. This is much faster. The kwarg signature has changed,
41
MaxNLocator accepts a new Boolean kwarg ('integer') to force
42
ticks to integer locations.
44
Commands that pass an argument to the Text constructor or to
45
Text.set_text() now accept any object that can be converted
46
with '%s'. This affects xlabel(), title(), etc.
48
Barh now takes a **kwargs dict instead of most of the old
49
arguments. This helps ensure that bar and barh are kept in sync,
50
but as a side effect you can no longer pass e.g. color as a
53
ft2font.get_charmap() now returns a dict that maps character codes
54
to glyph indices (until now it was reversed)
56
Moved data files into lib/matplotlib so that setuptools' develop
57
mode works. Re-organized the mpl-data layout so that this source
58
structure is maintained in the installation. (I.e. the 'fonts' and
59
'images' sub-directories are maintained in site-packages.).
60
Suggest removing site-packages/matplotlib/mpl-data and
61
~/.matplotlib/ttffont.cache before installing
65
All artists now implement a "pick" method which users should not
66
call. Rather, set the "picker" property of any artist you want to
67
pick on (the epsilon distance in points for a hit test) and
68
register with the "pick_event" callback. See
69
examples/pick_event_demo.py for details
71
Bar, barh, and hist have "log" binary kwarg: log=True
72
sets the ordinate to a log scale.
74
Boxplot can handle a list of vectors instead of just
75
an array, so vectors can have different lengths.
77
Plot can handle 2-D x and/or y; it plots the columns.
79
Added linewidth kwarg to bar and barh.
81
Made the default Artist._transform None (rather than invoking
82
identity_transform for each artist only to have it overridden
83
later). Use artist.get_transform() rather than artist._transform,
84
even in derived classes, so that the default transform will be
85
created lazily as needed
87
New LogNorm subclass of Normalize added to colors.py.
88
All Normalize subclasses have new inverse() method, and
89
the __call__() method has a new clip kwarg.
91
Changed class names in colors.py to match convention:
92
normalize -> Normalize, no_norm -> NoNorm. Old names
93
are still available for now.
95
Removed obsolete pcolor_classic command and method.
97
Removed lineprops and markerprops from the Annotation code and
98
replaced them with an arrow configurable with kwarg arrowprops.
99
See examples/annotation_demo.py - JDH
1
103
Completely reworked the annotations API because I found the old
2
104
API cumbersome. The new design is much more legible and easy to
3
105
read. See matplotlib.text.Annotation and