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

Skip to content

Commit c02fcb3

Browse files
appleapple
authored andcommitted
Fix indentation and Whitespace in update_positions
1 parent ae84e01 commit c02fcb3

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
@@ -2199,11 +2199,11 @@ def update_positions(self, renderer):
21992199
xy=(bbox.x0 - pad / 2, bbox.y0 - pad / 2),
22002200
width=bbox.width + pad, height=bbox.height + pad,
22012201
transform=IdentityTransform(), clip_on=False)
2202-
if self.arrow_patch.patchA is getattr(
2202+
if self.arrow_patch.patchA is getattr(
22032203
self, '_internal_patchA', None):
2204-
self.arrow_patch.set_patchA(patchA)
2205-
self._internal_patchA = patchA
2206-
2204+
self.arrow_patch.set_patchA(patchA)
2205+
self._internal_patchA = patchA
2206+
22072207
@artist.allow_rasterization
22082208
def draw(self, renderer):
22092209
# docstring inherited

0 commit comments

Comments
 (0)