code: def test_property_assignment_dots(self):
      # Layout
      self.figure["layout.xaxis.range"] = (-10, 10)
      self.assertEqual(self.figure["layout.xaxis.range"], (-10, 10))
  
      # Data
      self.figure["data.0.marker.color"] = "red"
      self.assertEqual(self.figure["data[0].marker.color"], "red")
  
      # Frames
      self.figure["frames[0].layout.yaxis.title.text"] = "f2"
      self.assertEqual(
          self.figure["frames.0.layout.yaxis.title.text"], "f2"
      )
  
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 8 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_property_assignment_dots() without return types