PlotlyWidget.pop

PlotlyWidget.pop(key, *args)

Remove the value associated with the specified key and return it

Parameters
  • key (str) – Property name

  • dflt – The default value to return if key was not found in figure

Returns

The removed value that was previously associated with key

Return type

value

Raises

KeyError – If key is not in object and no dflt argument specified