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