plotting

Set of functions and classes to make plotting easier

source

plot_timeseries

 plot_timeseries (*tseries:pandas.core.series.Series,
                  ax:Optional[matplotlib.axes._axes.Axes]=None,
                  add_legend:bool=False)
Type Default Details
tseries Series
ax Optional None
add_legend bool False
Returns None one of several np.Series with DataTimeIndex
axis to plot
add legend to plot, when True
df = load_test_df()
plot_timeseries(df.Low, df.Close, df.High, add_legend=True)


source

hist_timeseries

 hist_timeseries (*tseries:pandas.core.series.Series,
                  ax:Optional[matplotlib.axes._axes.Axes]=None)
hist_timeseries(df.Low)


source

plot_acfs

 plot_acfs (*tseries, incl_lag0=False, alpha=0.05, ax=None)
plot_acfs(df.Close, df.High)


source

normal_probability_plot

 normal_probability_plot (*tseries, ax=None)
normal_probability_plot(df.Close.pct_change().dropna(), df.High.pct_change().dropna())