diff --git a/netneurotools/plotting/pyvista_plotters.py b/netneurotools/plotting/pyvista_plotters.py index 0012f81..a97cd0d 100644 --- a/netneurotools/plotting/pyvista_plotters.py +++ b/netneurotools/plotting/pyvista_plotters.py @@ -140,7 +140,7 @@ def pv_plot_surface( Colorbar limits. If None, will be set to 2.5th and 97.5th percentiles. Default is None. zoom_ratio : float, optional - Zoom ratio for the camera. Default is 1.0. + Zoom-in ratio for the camera. Default is 1.0. show_colorbar : bool, optional Whether to show the colorbar. Default is True. cbar_title : str, optional diff --git a/netneurotools/spatial/spatial_stats.py b/netneurotools/spatial/spatial_stats.py index 54baddf..b2884ed 100644 --- a/netneurotools/spatial/spatial_stats.py +++ b/netneurotools/spatial/spatial_stats.py @@ -1,9 +1,12 @@ """Functions for calculating spatial statistics.""" +import numpy as np + def morans_i(): """Calculate Moran's I for spatial autocorrelation.""" - pass + a = np.array([1, 2, 3]) + return a def local_morans_i():