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