noggin.plotter.LivePlot.from_dict¶
-
classmethod
LivePlot.
from_dict
(plotter_dict)[source]¶ Records the state of the plotter in a dictionary.
This is the inverse of
to_dict()
Parameters: - plotter_dict : Dict[str, Any]
The dictionary storing the state of the logger to be restored.
Returns: - noggin.LivePlot
The restored plotter.
Notes
This is a class-method, the syntax for invoking it is:
>>> loaded_plotter = LivePlot.from_dict(plotter_dict)
To restore your plot from the loaded plotter, call:
>>> loaded_plotter.plot()