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

Skip to content

Commit 856183d

Browse files
Clean up import
1 parent 7b6cf7f commit 856183d

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
@@ -1410,12 +1410,11 @@ def _calc_coord_info(self):
14101410
bounds_proj = self._get_transformed_cube()
14111411

14121412
# Determine which one of the parallel planes are higher up
1413-
from .axis3d import Axis
14141413
means_z0 = np.zeros(3)
14151414
means_z1 = np.zeros(3)
14161415
for i in range(3):
1417-
means_z0[i] = np.mean(bounds_proj[Axis._PLANES[2 * i], 2])
1418-
means_z1[i] = np.mean(bounds_proj[Axis._PLANES[2 * i + 1], 2])
1416+
means_z0[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i], 2])
1417+
means_z1[i] = np.mean(bounds_proj[axis3d.Axis._PLANES[2 * i + 1], 2])
14191418
highs = means_z0 < means_z1
14201419

14211420
# Special handling for edge-on views

0 commit comments

Comments
 (0)