weldx.visualization.
set_axes_equal
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
axes – Matplotlib axes object (output from plt.gca())