10000 SC 2005/03/11 · matplotlib/matplotlib@5319528 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5319528

Browse files
author
Steve Chaplin
committed
SC 2005/03/11
svn path=/trunk/matplotlib/; revision=1068
1 parent ada7afc commit 5319528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_gdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def draw_image(self, x, y, im, origin, bbox):
118118
try:
119119
pa = pb.get_pixels_array()
120120
except AttributeError:
121-
pa = pb.pixel_array
121+
pa = pb.pixel_array # deprecated
122122
except RuntimeError, exc: # pygtk was not compiled with Numeric Python support
123123
warnings.warn('draw_image not supported: %s' % exc)
124124
return

0 commit comments

Comments
 (0)
0