code: def test_update_data_empty(self):
      # Create figure with empty data (no traces)
      figure = go.Figure(layout={"width": 1000})
  
      # Update data with new traces
      figure.update(data=[go.Scatter(y=[2, 1, 3]), go.Bar(y=[1, 2, 3])])
  
      # Build expected dict
      expected = {
          "data": [
              {"y": [2, 1, 3], "type": "scatter"},
              {"y": [1, 2, 3], "type": "bar"},
          ],
          "layout": {"width": 1000},
      }
  
      # Compute expected figure dict (pop uids for comparison)
      result = figure.to_dict()
  
      # Perform comparison
      self.assertEqual(result, expected)
  
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 17 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_update_data_empty() without return types