Bugfix: if no plotflag set, fig was not assigned.
This commit is contained in:
parent
77153bc8e9
commit
f814ec8656
@ -1 +1 @@
|
||||
4623-dirty
|
||||
7715-dirty
|
||||
|
@ -201,6 +201,7 @@ class RichterMagnitude(Magnitude):
|
||||
"mm".format(st[0].stats.station, wapp))
|
||||
|
||||
# check for plot flag (for debugging only)
|
||||
fig = None
|
||||
if self.plot_flag > 1:
|
||||
st.plot()
|
||||
fig = plt.figure()
|
||||
|
Loading…
Reference in New Issue
Block a user