noggin.plotter.LivePlot.plot

LivePlot.plot(plot_batches: bool = True)[source]

Plot the logged data.

This method can be used to ‘force’ a plot to be drawn, and should not be called repeatedly while logging data.

Instead, one should invoke Liveplot.set_train_batch(plot=True), Liveplot.set_train_epoch, and Liveplot.set_test_epoch, which will adjust their plot-rates according to Liveplot.max_fraction_spent_plotting.

LivePlot.plot should be called at the end of a logging-loop to ensure that the logged data is plotted in its entirety. This can also be used to recreate a plot after deserializing a LivePlot instance.

Parameters:
plot_batches : bool, optional (default=True)

If True include batch-level data in plot.