class_docstr: Base class for FigureWidget. The FigureWidget class is code-generated as a
  subclass
docstr: Display an informative error when user attempts to set frames on a
  FigureWidget
  
  Raises
  ------
  ValueError
      always
docstr_tok: ["Display","an","informative","error","when","user","attempts","to","set","frames","on","a","FigureWidget","Raises","--","--","--","ValueError","always"]
code: def _display_frames_error():
      """
      Display an informative error when user attempts to set frames on a
      FigureWidget
  
      Raises
      ------
      ValueError
          always
      """
      msg = """
  Frames are not supported by the plotly.graph_objs.FigureWidget class.
  Note: Frames are supported by the plotly.graph_objs.Figure class"""
      raise ValueError(msg)
  
imports: import ipywidgets
  from traitlets import List, Unicode, Dict, observe, Integer
  from .basedatatypes import BaseFigure, BasePlotlyType
  from .callbacks import BoxSelector, LassoSelector, InputDeviceState, Points
  from .serializers import custom_serializers
  from .version import __frontend_version__
label_desc: Use image node_id 21 for calling the BaseFigureWidget obj's underlying member method code with example usage: obj._display_frames_error() without return types