#!/usr/bin/env python # coding: utf-8 # ## Examples - plot_hists(), plot_boxes() # In[1]: import numpy as np from am4894pd.utils import df_dummy_ts # used to generate some dummy data from am4894plots.plots import plot_hists, plot_boxes # generate some dummy time series data df = df_dummy_ts(n_cols=4, freq='1min') df['dim1'] = np.random.choice(['A','B'],len(df)) print(df.shape) display(df.head()) # In[2]: plot_hists(df, n_cols=2, renderer='notebook', h=600, w=600, cumulative=True) # In[3]: plot_hists(df, dim='dim1', n_cols=2, renderer='notebook', h=800, w=800, cumulative=True) # In[4]: plot_boxes(df, renderer='notebook', n_cols=4, h=400, w=500)