code: def test_initial_access_subplots(self):
      # It should be possible to access base subplots initially
      self.assertEqual(self.layout.xaxis, go.layout.XAxis())
      self.assertEqual(self.layout.yaxis, go.layout.YAxis())
      self.assertEqual(self.layout["geo"], go.layout.Geo())
      self.assertEqual(self.layout.scene, go.layout.Scene())
      self.assertEqual(self.layout.mapbox, go.layout.Mapbox())
      self.assertEqual(self.layout.polar, go.layout.Polar())
  
      # Subplot ids of 1 should be mapped to the same object as the base
      # subplot. Notice we're using assertIs not assertEqual here
      self.assertIs(self.layout.xaxis, self.layout.xaxis1)
      self.assertIs(self.layout.yaxis, self.layout.yaxis1)
      self.assertIs(self.layout.geo, self.layout.geo1)
      self.assertIs(self.layout.scene, self.layout.scene1)
      self.assertIs(self.layout.mapbox, self.layout.mapbox1)
      self.assertIs(self.layout.polar, self.layout.polar1)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_layout_subplots.py
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 3 for calling the TestLayoutSubplots obj's underlying member method code with example usage: obj.test_initial_access_subplots() without return types