PPSD._plot_histogram(fig, draw=False, filename=None)[source]

Reuse a previously created figure returned by plot(show=False)() and plot the current histogram stack (pre-computed using calculate_histogram()) into the figure. If a filename is provided, the figure will be saved to a local file. Note that many aspects of the plot are statically set during the first plot() call, so this routine can only be used to update with data from a new stack.