Bugfix: if no plotflag set, fig was not assigned.
This commit is contained in:
1 parent
77153bc8e9
commit
f814ec8656
2 files changed
+2
-1
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user