Skip to content

Commit

Permalink
🩹 Follow up fix for #173
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Jul 2, 2023
1 parent ee65602 commit 53bbfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyglotaran_extras/plotting/plot_coherent_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def plot_coherent_artifact(
norm_factor = scales.max()
irf_y_label = f"normalized {irf_y_label}"

if "spectral" in irf_data:
if "spectral" in irf_data.coords:
irf_data = irf_data.sel(spectral=spectral, method="nearest")

plot_slice_irf = irf_data / irf_max * scales / norm_factor
Expand Down

0 comments on commit 53bbfb2

Please sign in to comment.