Skip to content
Snippets Groups Projects

add histogram visualization function

Merged s212246 requested to merge viz-histogram into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -786,7 +786,7 @@ def histogram(
**sns_kwargs
):
"""
Plots the histogram of a 3D volume using the [seaborn.histplot](https://seaborn.pydata.org/generated/seaborn.histplot.html) function. Optionally, a specific slice can be used for faster computation.
Plots the histogram of a 3D volume using the [seaborn.histplot](https://seaborn.pydata.org/generated/seaborn.histplot.html) function, optionally focusing on a specific slice for faster computation.
Args:
vol (np.ndarray): 3D numpy array representing the volume
Loading