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

Skip to content

Commit c5583f7

Browse files
committed
sync to 0.54.1
svn path=/trunk/matplotlib/; revision=319
1 parent 339ee5f commit c5583f7

15 files changed

Lines changed: 57 additions & 28 deletions

.matplotlibrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#### CONFIGURATION BEGINS HERE
2727
backend : GTKAgg # the default backend
28-
numerix : numarray # Numeric or numarray
28+
numerix : Numeric # Numeric or numarray
2929
interactive : False # see http://matplotlib.sourceforge.net/interactive.html
3030

3131
### LINES

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
New entries should be added at the top
22

3+
2004-05-27 Lots of small bug fixes: rotated text at negative angles,
4+
errorbar autoscaling, right tick label position - JDH
35

46
2004-05-26 Added Gary's errorbar stuff and made some fixes for length
57
one plots and constant data plots - JDH

LICENSE/LICENSE

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LICENSE AGREEMENT FOR MATPLOTLIB 0.54
1+
LICENSE AGREEMENT FOR MATPLOTLIB 0.54.1
22
--------------------------------------
33

44
1. This LICENSE AGREEMENT is between the John D. Hunter ("JDH"), and the
@@ -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 license
1111
to reproduce, analyze, test, perform and/or display publicly, prepare
12-
derivative works, distribute, and otherwise use matplotlib 0.54
12+
derivative works, distribute, and otherwise use matplotlib 0.54.1
1313
alone or in any derivative version, provided, however, that JDH's
1414
License Agreement and JDH's notice of copyright, i.e., "Copyright (c)
1515
2002-2004 John D. Hunter; All Rights Reserved" are retained in
16-
matplotlib 0.54 alone or in any derivative version prepared by
16+
matplotlib 0.54.1 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 or
20-
incorporates matplotlib 0.54 or any part thereof, and wants to
20+
incorporates matplotlib 0.54.1 or any part thereof, and wants to
2121
make 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.54.
23+
the changes made to matplotlib 0.54.1.
2424

25-
4. JDH is making matplotlib 0.54 available to Licensee on an "AS
25+
4. JDH is making matplotlib 0.54.1 available to Licensee on an "AS
2626
IS" 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.54
29+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.54.1
3030
WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
3131

3232
5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
33-
0.54 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
33+
0.54.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
3434
LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
35-
MATPLOTLIB 0.54, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
35+
MATPLOTLIB 0.54.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
3636
THE 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.54,
47+
8. By copying, installing or otherwise using matplotlib 0.54.1,
4848
Licensee agrees to be bound by the terms and conditions of this License
4949
Agreement.

TODO

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,14 @@
396396

397397
-- DONE incorporate gary's errorbar
398398

399-
-- bug in -45 newline text
399+
-- DONE bug in -45 newline text
400400

401401
-- write to stream in Agg
402402

403-
-- gtkagg bug in win98
403+
-- DONE gtkagg bug in win98
404+
405+
-- DONE fix try in errorbar
406+
407+
-- add collections to lines
408+
409+
-- some strangeness in table when multiple saves are called

examples/backend_driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ def drive(backend):
6464
for line in file(fname):
6565
if line.strip().startswith('from __future__ import division'): continue
6666
if line.strip().startswith('matplotlib.use'): continue
67-
if line.strip().startswith('#savefig'): continue
67+
if line.strip().startswith('savefig'): continue
6868
if line.strip().startswith('show'): continue
6969
lines.append(line)
7070
basename, ext = os.path.splitext(fname)
7171
outfile = basename + '_%s'%backend
7272
if backend in ('GTK', 'WX', 'TkAgg'):
7373
lines.append('show()')
7474
else:
75-
lines.append('#savefig("%s", dpi=150)' % outfile)
75+
lines.append('savefig("%s", dpi=150)' % outfile)
7676
tmpfile = '_tmp_%s.py' % basename
7777
file(tmpfile, 'w').write(''.join(lines))
7878
os.system('python %s' % tmpfile)

examples/finance_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
#plot_day_summary(ax, quotes, ticksize=3, converter=converter)
3535
candlestick(ax, quotes, width=0.6, converter=converter)
36+
set( gca().get_xticklabels(), 'rotation', 45, 'horizontalalignment', 'right')
3637

3738
show()
3839

examples/histogram_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
grid(True)
2020

2121
#set(gca(), 'xlim', [40, 160])
22-
#savefig('histogram_demo',dpi=72)
22+
savefig('histogram_demo',dpi=72)
2323
show()

examples/log_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from matplotlib.matlab import *
33

44
dt = 0.01
5-
t = arange(dt, 200.0, dt)
5+
t = arange(dt, 20.0, dt)
66

77
semilogx(t, exp(-t/5.0))
88
grid(True)

examples/simple_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
title('About as simple as it gets, folks')
1212
grid(True)
1313
#axis([0,1,-1,1])
14-
#savefig('simple_plot', dpi=300)
14+
savefig('simple_plot')
1515

1616
show()

examples/table_demo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,7 @@
4242
set(gca(), 'yticklabels', ['%d' % val for val in yticks])
4343
set(gca(), 'xticks', [])
4444
title('Loss by Disaster')
45-
#savefig('table_demo')
45+
savefig('table_demo_small', dpi=75)
46+
savefig('table_demo_large', dpi=300)
47+
4648
show()

0 commit comments

Comments
 (0)