matplotlib.axes.Axes.set_adjustable
- 
Axes.set_adjustable(self, adjustable, share=False)
- 
Define which parameter the Axes will change to achieve a given aspect. Parameters: - 
adjustable{'box', 'datalim'}
- 
If 'box', change the physical dimensions of the Axes. If 'datalim', change the xorydata limits.
- 
sharebool, optional
- 
If True, apply the settings to all shared Axes. Default isFalse.
 See also - 
 matplotlib.axes.Axes.set_aspect
- for a description of aspect handling.
 NotesShared Axes (of which twinned Axes are a special case) impose restrictions on how aspect ratios can be imposed. For twinned Axes, use 'datalim'. For Axes that share both x and y, use 'box'. Otherwise, either 'datalim' or 'box' may be used. These limitations are partly a requirement to avoid over-specification, and partly a result of the particular implementation we are currently using, in which the adjustments for aspect ratios are done sequentially and independently on each Axes as it is drawn. 
- 
Examples using matplotlib.axes.Axes.set_adjustable
 
    © 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
    https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.axes.Axes.set_adjustable.html