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

Skip to content

Commit 37ae231

Browse files
committed
Add comment
1 parent 1552264 commit 37ae231

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,7 @@ def __init__(self, figure, xytip, xybase, width=4, frac=0.1, headwidth=12, **kwa
10371037
self.frac = frac
10381038
self.headwidth = headwidth
10391039
Patch.__init__(self, **kwargs)
1040+
# Set self.figure after Patch.__init__, since it sets self.figure to None
10401041
self.figure = figure
10411042

10421043
def get_path(self):
@@ -4240,6 +4241,3 @@ def draw(self, renderer):
42404241
return
42414242

42424243
FancyArrowPatch.draw(self, renderer)
4243-
4244-
4245-

0 commit comments

Comments
 (0)