Closed Folhento closed 2 years ago
Thank you for the PR. I have a hugely refactored version of opsvis to be uploaded in two days.
To be consistent with other places in opsvis (plot_model_3d
and plot_defo_3d
), I will include the following version of your PR
ax.set_box_aspect((np.ptp(ax.get_xlim3d()),
np.ptp(ax.get_ylim3d()),
np.ptp(ax.get_zlim3d())))
To set the box aspect ratio for plot_extruded_shapes_3d in ops.vis, based on the axes range of one structure's layout.