seaborn.FacetGrid.refline#
- FacetGrid.refline(*, x=None, y=None, color='.5', linestyle='--', **line_kws)#
Add a reference line(s) to each facet.
- Parameters:
- x, ynumeric
Value(s) to draw the line(s) at.
- color
matplotlib color
Specifies the color of the reference line(s). Pass
color=None
to usehue
mapping.- linestylestr
Specifies the style of the reference line(s).
- line_kwskey, value mappings
Other keyword arguments are passed to
matplotlib.axes.Axes.axvline()
whenx
is not None andmatplotlib.axes.Axes.axhline()
wheny
is not None.
- Returns:
FacetGrid
instanceReturns
self
for easy method chaining.