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

Skip to content

Commit 19df3fa

Browse files
committed
applied Nadias x,y countour fix
svn path=/trunk/matplotlib/; revision=864
1 parent 19503e6 commit 19df3fa

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

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+
2005-01-15 Added Nadia's x,y contour fix
4+
35
2005-01-12 Fixed set clip_on bug in artist - JDH
46

57
2005-01-11 Reverted pythoninspect in tkagg - JDH

TODO

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,3 +625,7 @@ ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; c
625625
-- tex_rotation svg line bug (clipping??)
626626

627627
-- lag in release events makes key press nav difficult
628+
629+
-- Jim's tick bug in non-interactive mode
630+
631+
-- more flexible tick placement.

lib/matplotlib/axes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,10 @@ def contour(self, z,
10001000
reg = ones((jmax,imax), Int32)
10011001
reg[:,0]=0
10021002
triangle = zeros((jmax,imax), Int32)
1003-
y, x = indices((jmax,imax), 'd')
1003+
1004+
if x == None and y == None:
1005+
y, x = indices((jmax,imax), 'd')
1006+
10041007
rz = ravel(z)
10051008
zmax = nxmax(rz)
10061009
zmin = nxmin(rz)

0 commit comments

Comments
 (0)