Axes.set_adjustable(adjustable)¶Define which parameter the Axes will change to achieve a given aspect.
Possible values are:
| value | description |
|---|---|
| ‘box’ | change the physical size of the Axes |
| ‘datalim’ | change xlim or ylim |
| ‘box-forced’ | same as ‘box’, but axes can be shared |
‘box’ does not allow axes sharing, as this can cause unintended side effect. For cases when sharing axes is fine, use ‘box-forced’.
See also
matplotlib.axes.Axes.set_aspect