code: def test_plotly_restyle_nested(self):
      # Set scatter marker color
      self.figure.plotly_restyle(
          {"marker.color": "green"}, trace_indexes=0
      )
  
      self.figure._send_restyle_msg.assert_called_once_with(
          {"marker.color": "green"}, trace_indexes=[0]
      )
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_figure_messages/test_plotly_restyle.py
imports: import sys
  from unittest import TestCase
  import plotly.graph_objs
label_desc: Use image node_id 6 for calling the TestRestyleMessage obj's underlying member method code with example usage: obj.test_plotly_restyle_nested() without return types