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

Skip to content

Commit 0df6d2a

Browse files
author
Steve Chaplin
committed
SC 2005/03/19
svn path=/trunk/matplotlib/; revision=1091
1 parent cd4beed commit 0df6d2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/backends/backend_gdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ def draw_text(self, gc, x, y, s, prop, angle, ismath):
187187
return
188188

189189
if angle not in (0,90):
190-
warnings.warn('The GDK/GTK backend cannot draw text at a %i degree angle' % angle)
191-
190+
warnings.warn('backend_gdk: unable to draw text at angles ' +
191+
'other than 0 or 90')
192192
elif ismath:
193193
self._draw_mathtext(gc, x, y, s, prop, angle)
194194

0 commit comments

Comments
 (0)