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

Skip to content

Commit 0bc1e1c

Browse files
appleapple
authored andcommitted
Fix indentation and Whitespace in update_positions
1 parent 7e78aad commit 0bc1e1c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/text.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,11 +2101,11 @@ def update_positions(self, renderer):
21012101
xy=(bbox.x0 - pad / 2, bbox.y0 - pad / 2),
21022102
width=bbox.width + pad, height=bbox.height + pad,
21032103
transform=IdentityTransform(), clip_on=False)
2104-
if self.arrow_patch.patchA is getattr(
2104+
if self.arrow_patch.patchA is getattr(
21052105
self, '_internal_patchA', None):
2106-
self.arrow_patch.set_patchA(patchA)
2107-
self._internal_patchA = patchA
2108-
2106+
self.arrow_patch.set_patchA(patchA)
2107+
self._internal_patchA = patchA
2108+
21092109
@artist.allow_rasterization
21102110
def draw(self, renderer):
21112111
# docstring inherited

0 commit comments

Comments
 (0)