code: def test_irregular_subplots():
      df = cf.datagen.bubble(10, 50, mode="stocks")
      figs = cf.figures(
          df,
          [
              dict(kind="histogram", keys="x", color="blue"),
              dict(
                  kind="scatter", mode="markers", x="x", y="y", size=5
              ),
              dict(
                  kind="scatter",
                  mode="markers",
                  x="x",
                  y="y",
                  size=5,
                  color="teal",
              ),
          ],
          asList=True,
      )
      figs.append(
          cf.datagen.lines(1).figure(
              bestfit=False, colors=["blue"], bestfit_colors=["pink"]
          )
      )
      base_layout = cf.tools.get_base_layout(figs)
      sp = cf.subplots(
          figs,
          shape=(3, 2),
          base_layout=base_layout,
          vertical_spacing=0.15,
          horizontal_spacing=0.03,
          specs=[
              [{"rowspan": 2}, {}],
              [None, {}],
              [{"colspan": 2}, None],
          ],
          subplot_titles=[
              "Histogram",
              "Scatter 1",
              "Scatter 2",
              "Bestfit Line",
          ],
      )
      sp["layout"].update(showlegend=False)
      return sp
  
imports: import cufflinks
  import pandas
  import numpy
  import unittest
  from nose.tools import assert_equals
label_desc: Use image node_id 1 for calling a global function with example usage: test_irregular_subplots() and returns: sp