Skip to content
Snippets Groups Projects

Pre commits

Merged s193396 requested to merge pre_commits into main
+ 2
0
@@ -11,6 +11,7 @@ from matplotlib.colors import LinearSegmentedColormap
from qim3d.utils._logger import log
def plot_metrics(
*metrics: tuple[dict[str, float]],
linestyle: str = '-',
@@ -126,6 +127,7 @@ def grid_overview(
- The grid layout and dimensions vary based on the presence of a mask.
"""
import torch
# Check if data has a mask
has_mask = len(data[0]) > 2 and data[0][-1] is not None
Loading