Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d23c719 commit 8e94058Copy full SHA for 8e94058
1 file changed
lib/mpl_toolkits/mplot3d/axes3d.py
@@ -1411,12 +1411,11 @@ def _calc_coord_info(self):
1411
bounds_proj = self._get_transformed_cube()
1412
1413
# Determine which one of the parallel planes are higher up
1414
- from .axis3d import Axis
1415
means_z0 = np.zeros(3)
1416
means_z1 = np.zeros(3)
1417
for i in range(3):
1418
- means_z0[i] = np.mean(bounds_proj[Axis._PLANES[2 * i], 2])
1419
- means_z1[i] = np.mean(bounds_proj[Axis._PLANES[2 * i + 1], 2])
+ means_z0[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i], 2])
+ means_z1[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i + 1], 2])
1420
highs = means_z0 < means_z1
1421
1422
# Special handling for edge-on views
0 commit comments