8000 Fix FancyBboxPatch Typo · matplotlib/matplotlib@ef0d27a · GitHub
[go: up one dir, main page]

Skip to content

Commit ef0d27a

Browse files
committed
Fix FancyBboxPatch Typo
1 parent 9be5ac4 commit ef0d27a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/patches.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,9 +2236,8 @@ class FancyBboxPatch(Patch):
22362236
"""
22372237

22382238
def __str__(self):
2239-
return self.__class__.__name__ \
2240-
+ "FancyBboxPatch(%g,%g;%gx%g)" % (self._x, self._y,
2241-
self._width, self._height)
2239+
return "FancyBboxPatch(%g,%g;%gx%g)" % (self._x, self._y,
2240+
self._width, self._height)
22422241

22432242
@docstring.dedent_interpd
22442243
def __init__(self, xy, width, height,

0 commit comments

Comments
 (0)
0