Examples - plot_lines()

In [1]:
from am4894pd.utils import df_dummy_ts # used to generate some dummy data
from am4894plots.plots import plot_lines, plot_lines_grid
from am4894plots.lines.bokeh import plot_lines as plot_lines_bokeh
from am4894plots.lines.bokeh import plot_lines_grid as plot_lines_grid_bk

# generate some dummy time series data
df = df_dummy_ts(n_cols=4, freq='1min')
print(df.shape)
#display(df.head())
(1342, 4)
In [2]:
# plot each time series on single plot as a line
plot_lines(df, renderer='notebook', h=400, w=500)