PlotlyWidget.get_state

PlotlyWidget.get_state(key=None, drop_defaults=False)

Gets the widget state, or a piece of it.

Parameters

key (unicode or iterable (optional)) – A single property’s name or iterable of property names to get.

Returns

  • state (dict of states)

  • metadata (dict) – metadata for each field: {key: metadata}