Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, xy, p1, p2, size=75, unit="points", ax=None,
* "axes min", "axes max": minimum or maximum of relative Axes
width, height

ax : `matplotlib.axes.Axes`
ax : `matplotlib.axes.Axes`, default: current Axes
The Axes to add the angle annotation to.

text : str
Expand Down Expand Up @@ -128,7 +128,7 @@ def __init__(self, xy, p1, p2, size=75, unit="points", ax=None,
xytext=(0, 0), textcoords="offset points",
annotation_clip=True)
self.kw.update(text_kw or {})
self.text = ax.annotate(text, xy=self._center, **self.kw)
self.text = self.ax.annotate(text, xy=self._center, **self.kw)

def get_size(self):
factor = 1.
Expand Down
Loading