8000 cleaned up some agg files · matplotlib/matplotlib@3e9d6ee · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 3e9d6ee

Browse files
committed
cleaned up some agg files
svn path=/trunk/matplotlib/; revision=1288
1 parent 65467e0 commit 3e9d6ee

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

examples/agg_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
rbuf = agg.rendering_buffer()
1111
rbuf.attachb(buffer)
1212

13-
red = agg.rgba(1,0,0,1)
14-
blue = agg.rgba(0,0,1,1)
15-
green = agg.rgba(0,1,0,1)
16-
black = agg.rgba(0,0,0,1)
17-
white = agg.rgba(1,1,1,1)
18-
yellow = agg.rgba(.75,.75,1,1)
13+
red = agg.rgba8(255,0,0,255)
14+
blue = agg.rgba8(0,0,255,255)
15+
green = agg.rgba8(0,255,0,255)
16+
black = agg.rgba8(0,0,0,255)
17+
white = agg.rgba8(255,255,255,255)
18+
yellow = agg.rgba8(192,192,255,255)
1919

2020
path = agg.path_storage()
2121
path.move_to(10,10)

lib/matplotlib/backends/backend_agg2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def new_figure_manager(num, *args, **kwargs):
137137
"""
138138
if __debug__: verbose.report('backend_agg.new_figure_manager', 'debug-annoying')
139139

140-
print 'new figure manager'
141140
thisFig = Figure(*args, **kwargs)
142141
canvas = FigureCanvasAgg(thisFig)
143142
manager = FigureManagerBase(canvas, num)
@@ -163,7 +162,6 @@ def draw(self):
163162
if __debug__: verbose.report('FigureCanvasAgg.draw', 'debug-annoying')
164163

165164
renderer = self.get_renderer()
166-
print 'calling figure draw'
167165
self.figure.draw(renderer)
168166
return renderer
169167

lib/matplotlib/lines.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ def _draw_solid(self, renderer, gc, xt, yt):
613613
if len(xt)<2: return
614614
gc.set_linestyle('solid')
615615
gc.set_capstyle('projecting')
616-
print 'called draw lines', self._newstyle, renderer
617616
if self._newstyle:
618617
renderer.draw_lines(gc, xt, yt, self._transform)
619618
else:

0 commit comments

Comments
 (0)
2F6A
0