code: def test_plotly_update_data(self):
      # Check initial marker color
      self.assertEqual(self.figure.data[0].marker.color, "green")
  
      # Update with dict kwarg
      self.figure.plotly_update(
          restyle_data={"marker.color": "blue"}, trace_indexes=0
      )
  
      self.assertEqual(self.figure.data[0].marker.color, "blue")
  
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 28 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_plotly_update_data() without return types