code: def test_attr_access(self):
      scatt_uid = self.figure.data[0].uid
      self.assertEqual(
          self.figure.data,
          (
              go.Scatter(
                  y=[3, 2, 1], marker={"color": "green"}, uid=scatt_uid
              ),
          ),
      )
  
      self.assertEqual(
          self.figure.layout, go.Layout(xaxis={"range": [-1, 4]})
      )
  
      self.assertEqual(
          self.figure.frames,
          (go.Frame(layout={"yaxis": {"title": "f1"}}),),
      )
  
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 3 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_attr_access() without return types