weldx.visualization.matplotlib_impl.axes_equal#
- weldx.visualization.matplotlib_impl.axes_equal(axes)#
Adjust axis in a 3d plot to be equally scaled.
Source code taken from the stackoverflow answer of ‘karlo’ in the following question: https://stackoverflow.com/questions/13685386/matplotlib-equal-unit -length-with-equal-aspect-ratio-z-axis-is-not-equal-to
- Parameters
axes (
Axes
) – Matplotlib axes object (output from plt.gca())