PanelFigure
- class PanelFigure[source]
Bases:
Figure
PanelFigure class.
Methods Summary
add_annotation
(panel[, color, opacity])Plot vertical lines showing train, val, and test periods.
add_area
(col, *args, **kwargs)Add an area to the figure.
add_bar
(col, *args, **kwargs)Add a bar to the figure.
add_dotline
(col, *args, **kwargs)Add a dotline to the figure.
add_line
(col, *args, **kwargs)Add a line to the figure.
add_scatter
(col, *args, **kwargs)Add a scatter to the figure.
Methods Documentation
- add_annotation(panel, color: str = 'gray', opacity: float = 1.0) None [source]
Plot vertical lines showing train, val, and test periods.
- Parameters
panel (
Panel
) – Panel to split.color (
str
) – Color of the sets.opacity (
float
) – Opacity of the sets.
- add_area(col: str, *args, **kwargs) None [source]
Add an area to the figure.
- Parameters
col (
str
) – Column to plot
- add_bar(col: str, *args, **kwargs) None [source]
Add a bar to the figure.
- Parameters
col (
str
) – Column to plot
- add_dotline(col: str, *args, **kwargs) None [source]
Add a dotline to the figure.
- Parameters
col (
str
) – Column to plot.