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

Skip to content

Commit 5e50560

Browse files
committed
added colorba
svn path=/trunk/matplotlib/; revision=322
1 parent 8dd8e7f commit 5e50560

5 files changed

Lines changed: 18 additions & 11 deletions

File tree

CHANGELOG

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

3+
2004-05-28 added colorbar - JDH
4+
5+
2004-05-28 Made some changes to the matplotlib.colors.Colormap to
6+
propertly support clim - JDH
7+
8+
-----------------------------------------------------------------
9+
2004-05-27 0.54.1 released
10+
311
2004-05-27 Lots of small bug fixes: rotated text at negative angles,
4-
errorbar autoscaling, right tick label position - JDH
12+
errorbar capsize and autoscaling, right tick label
13+
position, gtkagg on win98, alpha of figure background,
14+
singleton plots - JDH
515

616
2004-05-26 Added Gary's errorbar stuff and made some fixes for length
717
one plots and constant data plots - JDH
@@ -11,7 +21,7 @@ New entries should be added at the top
1121
in 2 draws per figure mangager show(). - JTM
1222

1323
------------------------------------------------------------
14-
2004-05-19 0.54 released - JDH
24+
2004-05-19 0.54 released
1525

1626
2004-05-18 Added newline seperated text with rotations to text.Text
1727
layout - JDH

examples/anim.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python2.3
2-
2+
import matplotlib
3+
matplotlib.use('GTKAgg')
34
import matplotlib.matlab
45
import gtk
56
import matplotlib.numerix as numerix

examples/image_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ def bivariate_normal(X, Y, sigmax=1.0, sigmay=1.0,
3030
# set the interpolation method: 'nearest', 'bilinear', 'bicubic' and much more
3131
im.set_interpolation('bilinear')
3232

33-
3433
axis('off')
3534
#savefig('test')
3635
show()

examples/pcolor_demo.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22
"""
3-
See pcolor_demo2 for a much faster way of generating pcolor plots
3+
See pcolor_demo2 for an alternative way of generating pcolor plots
4+
using imshow that is likely faster for large grids
45
"""
56
from __future__ import division
67
from matplotlib.patches import Patch
@@ -19,11 +20,7 @@ def func3(x,y):
1920

2021
Z = func3(X, Y)
2122
pcolor(X, Y, Z, shading='flat')
22-
#pcolor_classic(X, Y, Z, shading='flat')
23-
24-
#axis([-3, 3, -3, 3])
25-
#axis('off')
26-
#savefig('pcolor_demo')
23+
colorbar()
2724
show()
2825

2926

unit/pathologies/single_point.py

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

44
figure(1)
5-
plot([0],[0])
5+
plot([0],[0],'o')
66
show()

0 commit comments

Comments
 (0)