def test_property_assignment_nested(self):
        # Set scatter marker color
        self.figure.data[0].marker.color = "green"
        self.figure._send_restyle_msg.assert_called_once_with(
            {"marker.color": ["green"]}, trace_indexes=0
        )