PlotlyWidget.plotly_update

PlotlyWidget.plotly_update(restyle_data=None, relayout_data=None, trace_indexes=None, **kwargs)

Perform a Plotly update operation on the figure.

Note: This operation both mutates and returns the figure

Parameters
  • restyle_data (dict) – Traces update specification. See the docstring for the plotly_restyle method for details

  • relayout_data (dict) – Layout update specification. See the docstring for the plotly_relayout method for details

  • trace_indexes – Trace index, or list of trace indexes, that the update operation applies to. Defaults to all trace indexes.

Returns

None

Return type

BaseFigure