plotlet v0.6.2

vlines

Guides & annotation

Minimal call

c = pt.chart(xlabel="x", ylabel="y")
c.add_vlines([1.5, 3.5], 0.5, 3.5, color="C3")

Docstring

Reference-line / span artists — decorate the frame.

`axhline` / `axvline` / `axhspan` / `axvspan` ignore autoscaling and span
the full frame regardless of the data scale. `axline` is the arbitrary-
direction sibling (matplotlib `axline` / ggplot `geom_abline`):

  c.add_axline((0, 0), (1, 1))          # infinite line through two points
  c.add_axline((0, 0), slope=1)         # point + slope (linear scales only)

`hlines` / `vlines` are the bounded, data-coordinate counterparts that
participate in autoscaling and use the color cycle so a labeled call acts
like a series.