Skip to content

Commit d09aab8

Browse files
committed
fix: move Poly3DCollection import to function scope
1 parent 74af67f commit d09aab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dominosee/grid/fekete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from tqdm import tqdm
3636
from numba import jit, njit, prange
3737
from scipy.spatial import SphericalVoronoi
38-
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
3938
# import geoutils.utils.general_utils as gut # Removed dependency
4039

4140
G = 6.67408 * 1E-11 # m^3 / kg / s^2
@@ -339,6 +338,7 @@ def spherical_to_cartesian(theta, phi, r=1.):
339338

340339

341340
def plot_spherical_voronoi(X, ax):
341+
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
342342
"""
343343
Plot scipy.spatial.SphericalVoronoi output on the surface of a unit sphere.
344344

0 commit comments

Comments
 (0)