class_docstr: Base class for subplots, which are :class:`Axes` instances with
  additional methods to facilitate generating and manipulating a set
  of :class:`Axes` within a figure.
docstr: change subplot geometry, e.g., from 1,1,1 to 2,2,3
docstr_tok: ["change","subplot","geometry",",","e.g.",",","from","1,1,1","to","2,2,3"]
code: def change_geometry(self, numrows, numcols, num):
      """change subplot geometry, e.g., from 1,1,1 to 2,2,3"""
      self._subplotspec = GridSpec(
          numrows, numcols, figure=self.figure
      )[num - 1]
      self.update_params()
      self.set_position(self.figbox)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import map
  from matplotlib.gridspec import GridSpec, SubplotSpec
  from matplotlib import docstring
  import matplotlib.artist
  from matplotlib.axes._axes import Axes
  import matplotlib._layoutbox
  import warnings
  from matplotlib.cbook import mplDeprecation
label_desc: Use image node_id 4 for calling the SubplotBase obj's underlying member method code with example usage: obj.change_geometry(numrows, numcols, num) without return types