code: def test_update_layout_dict(self):
      # Create initial figure
      fig = go.Figure()
      fig.layout.title.font.size = 10
  
      # Grab copy of original figure
      orig_fig = go.Figure(fig)
  
      fig.update_layout(
          dict(title=dict(font=dict(family="Courier New")))
      )
      orig_fig.layout.update(title_font_family="Courier New")
      self.assertEqual(fig, orig_fig)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_update_objects/test_update_layout.py
imports: from unittest import TestCase
  import plotly.graph_objects
label_desc: Use image node_id 3 for calling the TestUpdateLayout obj's underlying member method code with example usage: obj.test_update_layout_dict() without return types