pyblock.plot

Helper for plotting reblocking plots.

pyblock.plot.plot_reblocking(block_info, plotfile=None, plotshow=True)

Plot the reblocking data.

block_info : pandas.DataFrame
Reblocking data (i.e. the first item of the tuple returned by reblock).
plotfile : string
If not null, save the plot to the given filename. If ‘-’, then show the plot interactively. See also plotshow.
plotshow : bool
If plotfile is not given or is ‘-’, then show the plot interactively.
fig : matplotlib.figure.Figure
plot of the reblocking data.