code: def test_update_dict_empty(self):
      trace1 = Scatter(x=[1, 2, 3], y=[2, 1, 2])
      trace2 = Scatter(x=[1, 2, 3], y=[3, 2, 1])
      fig = Figure([trace1, trace2])
      update_res = fig.update({})
      d1, d2 = strip_dict_params(
          fig.data[0], Scatter(x=[1, 2, 3], y=[2, 1, 2])
      )
      assert d1 == d2
      d1, d2 = strip_dict_params(
          fig.data[1], Scatter(x=[1, 2, 3], y=[3, 2, 1])
      )
      assert d1 == d2
      assert update_res is fig
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_update.py
imports: from unittest import skip
  import plotly.graph_objs
  from plotly.graph_objs import Data, Figure, Layout, Line, Scatter, scatter, XAxis
  from plotly.tests.utils import strip_dict_params
  from unittest import TestCase
label_desc: Use image node_id 4 for calling the TestUpdateMethod obj's underlying member method code with example usage: obj.test_update_dict_empty() without return types