code: def test_subplot_props_in_constructor(self):
      layout = go.Layout(
          xaxis2=go.layout.XAxis(title={"text": "xaxis 2"}),
          yaxis3=go.layout.YAxis(title={"text": "yaxis 3"}),
          geo4=go.layout.Geo(bgcolor="blue"),
          ternary5=go.layout.Ternary(sum=120),
          scene6=go.layout.Scene(dragmode="zoom"),
          mapbox7=go.layout.Mapbox(zoom=2),
          polar8=go.layout.Polar(sector=[0, 90]),
      )
  
      self.assertEqual(layout.xaxis2.title.text, "xaxis 2")
      self.assertEqual(layout.yaxis3.title.text, "yaxis 3")
      self.assertEqual(layout.geo4.bgcolor, "blue")
      self.assertEqual(layout.ternary5.sum, 120)
      self.assertEqual(layout.scene6.dragmode, "zoom")
      self.assertEqual(layout.mapbox7.zoom, 2)
      self.assertEqual(layout.polar8.sector, (0, 90))
  
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 11 for calling the TestLayoutSubplots obj's underlying member method code with example usage: obj.test_subplot_props_in_constructor() without return types