8000 Merge pull request #5709 from dsquareindia/param-fix · matplotlib/matplotlib@82b29ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 82b29ae

Browse files
committed
Merge pull request #5709 from dsquareindia/param-fix
DOC: clarify annotation parameter usage #5704
1 parent cfa65a7 commit 82b29ae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,21 +633,22 @@ def annotate(self, *args, **kwargs):
633633
label
634634
635635
xy : (x, y)
636-
position of element to annotate
636+
position of element to annotate. See *xycoords* to control what
637+
coordinate system this value is interpretated in.
637638
638639
xytext : (x, y) , optional, default: None
639-
position of the label `s`
640+
position of the label `s`. See *textcoords* to control what
641+
coordinate system this value is interpreted in.
640642
641643
xycoords : string, optional, default: "data"
642644
string that indicates what type of coordinates `xy` is. Examples:
643645
"figure points", "figure pixels", "figure fraction", "axes
644646
points", .... See `matplotlib.text.Annotation` for more details.
645647
646-
textcoords : string, optional
648+
textcoords : string, optional, default: None
647649
string that indicates what type of coordinates `text` is. Examples:
648650
"figure points", "figure pixels", "figure fraction", "axes
649651
points", .... See `matplotlib.text.Annotation` for more details.
650-
Default is None.
651652
652653
arrowprops : `matplotlib.lines.Line2D` properties, optional
653654
Dictionary of line properties for the arrow that connects

0 commit comments

Comments
 (0)
0