uafgeotools / mtuq

moment tensor uncertainty quantification
BSD 2-Clause "Simplified" License
67 stars 22 forks source link

Plotting error function plot_waveforms1 #229

Closed SeismoFelix closed 11 months ago

SeismoFelix commented 11 months ago

After running MTUQ only with surface waves, I got this error:

mtuq/mtuq/graphics/waveforms.py", line 103, inplot_waveforms1   normalize, trace_labels, max_amplitude, total_misfit)NameError: name 'trace_labels' is not defined

I guess this happens because when plotting the waveforms, there is a subroutine expecting a parameter named trace_labels. It seems that the parameter in this latest version of MTUQ should be named trace_label_writer

rmodrak commented 11 months ago

Felix, thanks for reporting this regression. I will try pushing a fix this weekend.

rmodrak commented 11 months ago

Addressed in #233