seaborn.FacetGrid.refline
- FacetGrid.refline(*, x=None, y=None, color='.5', linestyle='--', **line_kws)
Add a reference line(s) to each facet.
- Parameters:
- x, y : numeric
Value(s) to draw the line(s) at.
- color
Add a reference line(s) to each facet.
Value(s) to draw the line(s) at.
Specifies the color of the reference line(s). Pass color=None to
use hue mapping.
Specifies the style of the reference line(s).
Other keyword arguments are passed to matplotlib.axes.Axes.axvline()
when x is not None and matplotlib.axes.Axes.axhline() when y
is not None.
FacetGrid instanceReturns self for easy method chaining.