Commit 003654d6 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix tshift bug in plotting

parent 71aeb2c3
......@@ -1000,7 +1000,7 @@ def draw_fits_figures(ds, model, plt):
if spec is not None:
spec.ydata *= w
if result.tshift != 0.0:
if result.tshift is not None and result.tshift != 0.0:
result.filtered_syn.shift(result.tshift)
result.processed_syn.shift(result.tshift)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment