This commit is contained in:
t-bltg 2021-08-02 21:54:35 +02:00 committed by GitHub
parent 2df85eb0fd
commit ff2ae4fe4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ const _examples = PlotExample[
The `annotations` keyword is used for text annotations in data-coordinates. Pass in a The `annotations` keyword is used for text annotations in data-coordinates. Pass in a
tuple `(x, y, text)`, a vector of annotations, each of which is a tuple of `x`, `y` tuple `(x, y, text)`, a vector of annotations, each of which is a tuple of `x`, `y`
and `text`. You can position annotations using relative coordinates with the syntax and `text`. You can position annotations using relative coordinates with the syntax
`((px, py), text)`, where for example `rx=.25` positions the annotation at `25%` of `((px, py), text)`, where for example `px=.25` positions the annotation at `25%` of
the plot's width. the plot's width.
`text` may be a simple `String`, or a `PlotText` object, which can be built with the `text` may be a simple `String`, or a `PlotText` object, which can be built with the
method `text(string, attrs...)`. method `text(string, attrs...)`.