From a72b4a3481999323b6b49c06c332a9cf40bb05c1 Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Mon, 2 Aug 2021 23:30:54 +0200 Subject: [PATCH] specify relative coordinates --- src/examples.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples.jl b/src/examples.jl index 57817243..40acf561 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -372,7 +372,7 @@ const _examples = PlotExample[ 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 `((px, py), text)`, where for example `px=.25` positions the annotation at `25%` of - the plot's width. + the subplot's axis width. `text` may be a simple `String`, or a `PlotText` object, which can be built with the method `text(string, attrs...)`. This wraps font and color attributes and allows you to set text styling.