Skip to content

Commit

Permalink
add type hint for IDE completion
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Nov 18, 2024
1 parent f3f2815 commit 02862b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iblatlas/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion iblatlas/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02862b1

Please sign in to comment.