Skip to content

Commit

Permalink
Add float to distance typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Jul 24, 2024
1 parent a6af1e5 commit 8e64955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainglobe_heatmap/heatmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Heatmap:
def __init__(
self,
values: Dict,
position: Union[list, tuple, np.ndarray],
position: Union[list, tuple, np.ndarray, float],
orientation: Union[str, tuple] = "frontal",
hemisphere: str = "both",
title: Optional[str] = None,
Expand Down

0 comments on commit 8e64955

Please sign in to comment.