vispipe.plot_backend.MPL_Figure.set_aspect#
- MPL_Figure.set_aspect(aspect, adjustable=None, anchor=None, share=False, ax=None)#
Sets relative spacing of y to x data.
- Parameters:
aspect (
str|float) – The aspect ratio to be set. If a float is passed than the aspect ratio will be 1:aspect.adjustable (
str|None) – Used to specify which parameter will be changed.anchor (
str|tuple[float,float] |None) – Defines where the axis is drawn.ax (
Axes|None) – Axes to plot onto. If None self.gca() is called.