MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_figheight

Method set_figheight

lib/matplotlib/figure.py:3236–3251  ·  view source on GitHub ↗

Set the height of the figure in inches. Parameters ---------- val : float forward : bool See `set_size_inches`. See Also -------- matplotlib.figure.Figure.set_figwidth matplotlib.figure.Figure.set_size_inches

(self, val, forward=True)

Source from the content-addressed store, hash-verified

3234 self.set_size_inches(val, self.get_figheight(), forward=forward)
3235
3236 def set_figheight(self, val, forward=True):
3237 """
3238 Set the height of the figure in inches.
3239
3240 Parameters
3241 ----------
3242 val : float
3243 forward : bool
3244 See `set_size_inches`.
3245
3246 See Also
3247 --------
3248 matplotlib.figure.Figure.set_figwidth
3249 matplotlib.figure.Figure.set_size_inches
3250 """
3251 self.set_size_inches(self.get_figwidth(), val, forward=forward)
3252
3253 def clear(self, keep_observers=False):
3254 # docstring inherited

Calls 2

set_size_inchesMethod · 0.95
get_figwidthMethod · 0.95