From 02862b198b4a0e1400397e71bf6852ed7907e51d Mon Sep 17 00:00:00 2001 From: owinter Date: Mon, 18 Nov 2024 14:38:50 +0000 Subject: [PATCH] add type hint for IDE completion --- iblatlas/atlas.py | 2 +- iblatlas/plots.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iblatlas/atlas.py b/iblatlas/atlas.py index b2f1a93..3cc846e 100644 --- a/iblatlas/atlas.py +++ b/iblatlas/atlas.py @@ -1493,7 +1493,7 @@ def compute_regions_volume(self, cumsum=False): self.regions.volume = self.regions.volume * (self.res_um / 1e3) ** 3 -def NeedlesAtlas(*args, **kwargs): +def NeedlesAtlas(*args, **kwargs) -> AllenAtlas: """ Instantiates an atlas.BrainAtlas corresponding to the Allen CCF at the given resolution using the IBL Bregma and coordinate system. The Needles atlas defines a stretch along AP diff --git a/iblatlas/plots.py b/iblatlas/plots.py index 44bb2f0..bb47b73 100644 --- a/iblatlas/plots.py +++ b/iblatlas/plots.py @@ -831,7 +831,7 @@ def plot_swanson_vector(acronyms=None, values=None, ax=None, hemisphere=None, br annotate_order='top', annotate_list=None, mask=None, mask_color='w', fontsize=10, show_cbar=False, extend='neither', **kwargs): """ - Function to plot scalar value per allen region on the swanson projection. Plots on a vecortised version of the + Function to plot scalar value per allen region on the swanson projection. Plots on a vectorised version of the swanson projection Parameters