code: def test_nested_update_obj(self):
      self.scatter.update(
          marker={
              "colorbar": go.scatter.marker.ColorBar(
                  bgcolor="yellow", thickness=5
              )
          }
      )
  
      assert isinstance(
          self.scatter["marker"]["colorbar"], go.scatter.marker.ColorBar
      )
      d1, d2 = strip_dict_params(
          self.scatter["marker"]["colorbar"],
          self.expected_nested["marker"]["colorbar"],
      )
      assert d1 == d2
  
      d1, d2 = strip_dict_params(self.scatter, self.expected_nested)
      assert d1 == d2
  
imports: from unittest import TestCase
  import plotly.graph_objs
  from plotly.tests.utils import strip_dict_params
label_desc: Use image node_id 8 for calling the TestAssignmentCompound obj's underlying member method code with example usage: obj.test_nested_update_obj() without return types