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

Skip to content

Commit 888d6fa

Browse files
committed
Remove typo from GDK backend
1 parent c1fdefd commit 888d6fa

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
@@ -228,7 +228,7 @@ def _draw_rotated_text(self, gc, x, y, s, prop, angle):
228228
x = int(x-h)
229229
y = int(y-w)
230230

231-
if (x < 0 or y < 0 or: # window has shrunk and text is off the edge
231+
if (x < 0 or y < 0 or # window has shrunk and text is off the edge
232232
x + w > self.width or y + h > self.height):
233233
return
234234

0 commit comments

Comments
 (0)