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

Skip to content

Commit f64e5d2

Browse files
committed
Clean out tabs (bug 1650523)
svn path=/trunk/matplotlib/; revision=3180
1 parent 453893d commit f64e5d2

6 files changed

Lines changed: 146 additions & 146 deletions

File tree

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def set_clip_on(self, b):
239239
"""
240240
self._clipon = b
241241
if not b:
242-
self.clipbox = None
242+
self.clipbox = None
243243
self._clippath = None
244244
self.pchanged()
245245

lib/matplotlib/axes3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ def format_coord(self, xd, yd):
366366
at the same z location as the nearest point on the edge.
367367
"""
368368

369-
if self.button_pressed == 1:
369+
if self.button_pressed == 1:
370370
return 'azimuth=%d deg, elevation=%d deg ' % (self.azim, self.elev)
371-
# ignore xd and yd and display angles instead
371+
# ignore xd and yd and display angles instead
372372

373373
p = (xd,yd)
374374
edges = self.tunit_edges()

lib/matplotlib/backends/backend_agg.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, width, height, dpi):
139139
'debug-annoying')
140140

141141
def draw_arc(self, gcEdge, rgbFace, x, y, width, height, angle1, angle2, rotation):
142-
"""
142+
"""
143143
Draw an arc centered at x,y with width and height and angles
144144
from 0.0 to 360.0
145145
@@ -257,13 +257,13 @@ def draw_tex(self, gc, x, y, s, prop, angle):
257257
rgb = gc.get_rgb()
258258
size = prop.get_size_in_points()
259259
dpi = self.dpi.get()
260-
260+
261261
flip = angle==90
262262
w,h = self.get_text_width_height(s, prop, 'TeX', rgb)
263263
if flip:
264264
w,h = h,w
265265
x -= w
266-
266+
267267
texmanager = self.get_texmanager()
268268
key = s, size, dpi, rgb, angle, texmanager.get_font_config()
269269
im = self.texd.get(key)
@@ -486,11 +486,11 @@ def print_figure(self, filename, dpi=None, facecolor='w', edgecolor='w',
486486
ps = self.switch_backends(FigureCanvasPS)
487487
ps.print_figure(filename, dpi, facecolor, edgecolor,
488488
orientation, **kwargs)
489-
elif ext.find('pdf')>=0:
490-
from backend_pdf import FigureCanvasPdf
491-
pdf = self.switch_backends(FigureCanvasPdf)
492-
pdf.print_figure(filename, dpi, facecolor, edgecolor,
493-
orientation, **kwargs)
489+
elif ext.find('pdf')>=0:
490+
from backend_pdf import FigureCanvasPdf
491+
pdf = self.switch_backends(FigureCanvasPdf)
492+
pdf.print_figure(filename, dpi, facecolor, edgecolor,
493+
orientation, **kwargs)
494494
else:
495495
raise IOError('Do not know know to handle extension *%s' % ext)
496496

0 commit comments

Comments
 (0)