BasePlot ¶
- class swpy.swds.dataset.utilities. BasePlot ¶
-
A method that receives the data processed by the parsing_data function and plots it.
Methods Summary
|
Plots time series data based on the provided options. |
Methods Documentation
- plot ( self, start_time=None, end_time=None, target=None, sep_plots=False, figsize=None, log=True ) ¶
-
Plots time series data based on the provided options.
-
start_time (
str
) - The start time for the plot in the format 'YYYY-MM-DD'. (optional)
-
end_time (
str
) - The end time for the plot in the format 'YYYY-MM-DD'. (optional)
-
target (
list
) - A list of target columns to plot. (optional)
-
sep_plot (
bool
) - If True, plots each target on a separate subplot. If False, plots all targets on a single plot. (optional)
-
figsize (
tuple
) - A tuple specifying the width and height of the plot in inches. (optional)
-
log (
bool
) - If True, uses a logarithmic scale for the y-axis. If False, uses a linear scale. (optional)
Usage of BasePlot
can be read in the Examples page.