Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autoarray/plot/plots/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def plot_array(
log10_min = 1.0e-4

clipped = np.clip(array, log10_min, None)
norm = LogNorm(vmin=vmin or log10_min, vmax=vmax or clipped.max())
norm = LogNorm(vmin=vmin or log10_min, vmax=vmax or np.nanmax(clipped))
elif vmin is not None or vmax is not None:
norm = Normalize(vmin=vmin, vmax=vmax)
else:
Expand Down