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

Skip to content

Commit 74ebf82

Browse files
committed
STY : remove excessive indets
1 parent c5df792 commit 74ebf82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/offsetbox.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,11 +1104,11 @@ def _offset(w, h, xd, yd, renderer, fontsize=fontsize, self=self):
11041104
self.set_offset(_offset)
11051105

11061106
def update_frame(self, bbox, fontsize=None):
1107-
self.patch.set_bounds(bbox.x0, bbox.y0,
1108-
bbox.width, bbox.height)
1107+
self.patch.set_bounds(bbox.x0, bbox.y0,
1108+
bbox.width, bbox.height)
11091109

1110-
if fontsize:
1111-
self.patch.set_mutation_scale(fontsize)
1110+
if fontsize:
1111+
self.patch.set_mutation_scale(fontsize)
11121112

11131113
def draw(self, renderer):
11141114
"draw the artist"

0 commit comments

Comments
 (0)