class_docstr: The Divider class whose rectangle area is specified as a subplot geometry.
class_docstr_tok: ["The","Divider","class","whose","rectangle","area","is","specified","as","a","subplot","geometry","."]
docstr: Set the SubplotSpec instance.
docstr_tok: ["Set","the","SubplotSpec","instance","."]
code: def set_subplotspec(self, subplotspec):
      """Set the SubplotSpec instance."""
      self._subplotspec = subplotspec
      self.set_position(subplotspec.get_position(self.figure))
  
imports: import functools
  import numpy
  import matplotlib
  from matplotlib import _api
  from matplotlib.gridspec import SubplotSpec
  import matplotlib.transforms
  from .None import axes_size
label_desc: Use image node_id 4 for calling the SubplotDivider obj's underlying member method code with example usage: obj.set_subplotspec(subplotspec) without return types