Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e94058

Browse files
Clean up import
1 parent d23c719 commit 8e94058

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,12 +1411,11 @@ def _calc_coord_info(self):
14111411
bounds_proj = self._get_transformed_cube()
14121412

14131413
# Determine which one of the parallel planes are higher up
1414-
from .axis3d import Axis
14151414
means_z0 = np.zeros(3)
14161415
means_z1 = np.zeros(3)
14171416
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])
1417+
means_z0[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i], 2])
1418+
means_z1[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i + 1], 2])
14201419
highs = means_z0 < means_z1
14211420

14221421
# Special handling for edge-on views

0 commit comments

Comments
 (0)