class_docstr: Base class for FigureWidget. The FigureWidget class is code-generated as a
  subclass
docstr: Send Plotly.relayout message to the frontend
  
  Parameters
  ----------
  layout_data : dict
      Plotly.relayout layout data
  source_view_id : str
      UID of view that triggered this relayout operation
      (e.g. By the user clicking 'zoom' in the toolbar). None if the
      operation was not triggered by a frontend view
docstr_tok: ["Send","Plotly.relayout","message","to","the","frontend","Parameters","--","--","--","--","--","layout_data",":","dict","Plotly.relayout","layout","data","source_view_id",":","str","UID","of","view","that","triggered","this","relayout","operation","(","e.g",".","By","the","user","clicking","'zoom","'","in","the","toolbar",")",".","None","if","the","operation","was","not","triggered","by","a","frontend","view"]
code: def _send_relayout_msg(self, layout_data, source_view_id=None):
      """
      Send Plotly.relayout message to the frontend
  
      Parameters
      ----------
      layout_data : dict
          Plotly.relayout layout data
      source_view_id : str
          UID of view that triggered this relayout operation
          (e.g. By the user clicking 'zoom' in the toolbar). None if the
          operation was not triggered by a frontend view
      """
      # Increment layout edit messages IDs
      # ----------------------------------
      layout_edit_id = self._last_layout_edit_id + 1
      self._last_layout_edit_id = layout_edit_id
      self._layout_edit_in_process = True
  
      # Build message
      # -------------
      msg_data = {
          "relayout_data": layout_data,
          "layout_edit_id": layout_edit_id,
          "source_view_id": source_view_id,
      }
  
      # Send message
      # ------------
      self._py2js_relayout = msg_data
      self._py2js_relayout = None
  
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 2 for calling the BaseFigureWidget obj's underlying member method code with example usage: obj._send_relayout_msg(layout_data, source_view_id) without return types