code: def test_property_assignment_tuple(self):
      # Empty
      self.assertIs(self.figure[()], self.figure)
  
      # 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 7 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_property_assignment_tuple() without return types