8000 0.42 release · matplotlib/matplotlib@0744f73 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 0744f73

Browse files
committed
0.42 release
svn path=/trunk/matplotlib/; revision=110
1 parent cc82392 commit 0744f73

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

LICENSE

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LICENSE AGREEMENT FOR MATPLOTLIB 0.41
1+
LICENSE AGREEMENT FOR MATPLOTLIB 0.42
22
--------------------------------------
33

44
1. This LICENSE AGREEMENT is between the John D. Hunter ("JDH"), and
@@ -9,30 +9,30 @@ documentation.
99
2. Subject to the terms and conditions of this License Agreement, JDH
1010
hereby grants Licensee a nonexclusive, royalty-free, world-wide
1111
license to reproduce, analyze, test, perform and/or display publicly,
12-
prepare derivative works, distribute, and otherwise use matplotlib
13-
0.41 alone or in any derivative version, provided, however, that JDH's
12+
prepare derivative works, distribute, and otherwise use matplotlib 0.42
13+
alone or in any derivative version, provided, however, that JDH's
1414
License Agreement and JDH's notice of copyright, i.e., "Copyright (c)
15-
2002-2004 John D. Hunter; All Rights Reserved" are retained in
16-
matplotlib 0.41 alone or in any derivative version prepared by
15+
2002, 2003 John D. Hunter; All Rights Reserved" are retained in
16+
matplotlib 0.42 alone or in any derivative version prepared by
1717
Licensee.
1818

1919
3. In the event Licensee prepares a derivative work that is based on
20-
or incorporates matplotlib 0.41 or any part thereof, and wants to make
20+
or incorporates matplotlib 0.42 or any part thereof, and wants to make
2121
the derivative work available to others as provided herein, then
2222
Licensee hereby agrees to include in any such work a brief summary of
23-
the changes made to matplotlib 0.41.
23+
the changes made to matplotlib 0.42.
2424

25-
4. JDH is making matplotlib 0.41 available to Licensee on an "AS IS"
25+
4. JDH is making matplotlib 0.42 available to Licensee on an "AS IS"
2626
basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
2727
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND
2828
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
29-
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.41 WILL NOT
29+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.42 WILL NOT
3030
INFRINGE ANY THIRD PARTY RIGHTS.
3131

3232
5. JDH SHALL NOT BE LIABL 8000 E TO LICENSEE OR ANY OTHER USERS OF
33-
MATPLOTLIB 0.41 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES
33+
MATPLOTLIB 0.42 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES
3434
OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
35-
MATPLOTLIB 0.41, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
35+
MATPLOTLIB 0.42, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
3636
POSSIBILITY THEREOF.
3737

3838
6. This License Agreement will automatically terminate upon a material
@@ -44,6 +44,6 @@ Licensee. This License Agreement does not grant permission to use JDH
4444
trademarks or trade name in a trademark sense to endorse or promote
4545
products or services of Licensee, or any third party.
4646

47-
8. By copying, installing or otherwise using matplotlib 0.41, Licensee
47+
8. By copying, installing or otherwise using matplotlib 0.42, Licensee
4848
agrees to be bound by the terms and conditions of this License
4949
Agreement.

MANIFEST

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ examples/arctest.py
1717
examples/axes_demo.py
1818
examples/axes_props.py
1919
examples/barchart_demo.py
20-
examples/batch_test.py
2120
examples/batch_test_gd.py
22-
examples/batch_test_wx.py
2321
examples/break.py
2422
examples/color_demo.py
2523
examples/csd_demo.py

examples/object_picker.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99

1010
import matplotlib
1111
matplotlib.use('GTK')
12+
1213
from matplotlib.backends.backend_gtk import FigureGTK, NavigationToolbar, \
13-
AxisTextGTK, error_msg, colorManager
14+
error_msg, colorManager
1415
from matplotlib.axes import Subplot
16+
1517
from matplotlib.lines import Line2D, lineStyles, lineMarkers
1618
from matplotlib.transforms import Bound2D
1719
from matplotlib.patches import draw_bbox
@@ -202,7 +204,7 @@ def run(self):
202204
class ArtistPickerFigure(FigureGTK):
203205

204206
def button_press_event(self, widget, event):
205-
width, height = self.drawable.gdkDrawable.get_size()
207+
width, height = self.renderer.gdkDrawable.get_size()
206208

207209
self.pick(event.x, height-event.y)
208210

@@ -223,10 +225,10 @@ def pick(self, x, y, epsilon=5):
223225
"""
224226

225227
clickBBox = Bound2D(x-epsilon/2, y-epsilon/2, epsilon, epsilon)
226-
#draw_bbox(self.dpi, clickBBox, self.drawable)
228+
draw_bbox(self.dpi, clickBBox, self.renderer)
227229

228230
def over_text(t):
229-
bbox = t.get_window_extent()
231+
bbox = t.get_window_extent(self.renderer)
230232
return clickBBox.overlap(bbox)
231233

232234
def over_line(line):

examples/simple_plot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
xlabel('time (s)')
88
ylabel('voltage (mV)')
9-
t = title('About as simple as it gets, folks', verticalalignment='bottom')
10-
t.set_y(0.99)
9+
t = title('About as simple as it gets, folks')
10+
1111

1212
#grid(True)
1313
#set(gca(), 'xticks', (0,.2,.7))
14-
savefig('test2.eps')
14+
#savefig('test2')
1515
show()

examples/subplot_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ def f(t):
1919
xlabel('time (s)')
2020
ylabel('Undamped')
2121

22-
savefig('subplot_demo.eps')
22+
#savefig('subplot_demo.eps')
2323
show()
2424

examples/text_themes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def f(t):
1919
xlabel('time (s)', font)
2020
ylabel('voltage (mV)', font)
2121

22-
savefig('text_themes')
22+
#savefig('text_themes')
2323
show()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
data.extend(glob.glob('images/*.xpm'))
1010

1111
setup(name="matplotlib",
12-
version= '0.42g',
12+
version= '0.42',
1313
description = "Matlab style python plotting package",
1414
author = "John D. Hunter",
1515
author_email="jdhunter@ace.bsd.uchicago.edu",

0 commit comments

Comments
 (0)
0