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

Skip to content

Commit c0853c8

Browse files
committed
removed debug print statement
svn path=/trunk/matplotlib/; revision=2759
1 parent 1e6ccde commit c0853c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/backend_driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
SVG = ('tex_demo.py,'),
8787
)
8888

89-
def drive(backend, python='python2.4'):
89+
def drive(backend, python='python'):
9090

9191
exclude = failbackend.get(backend, [])
9292

@@ -137,7 +137,7 @@ def drive(backend, python='python2.4'):
137137
if sys.platform == 'win32':
138138
python = r'c:\Python24\python.exe'
139139
else:
140-
python = 'python2.4'
140+
python = 'python'
141141
if sys.argv[1:]:
142142
backends = [b for b in sys.argv[1:] if b in default_backends]
143143
else:

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def scale_range(vmin, vmax, n = 1, threshold=100):
780780
maxabsv = max(abs(vmin), abs(vmax))
781781
if maxabsv == 0 or dv/maxabsv < 1e-12:
782782
return 1.0, 0.0
783-
783+
print vmin, vmax
784784
meanv = 0.5*(vmax+vmin)
785785
if abs(meanv)/dv < threshold:
786786
offset = 0

0 commit comments

Comments
 (0)