Bugfix: if no plotflag set, fig was not assigned.

This commit is contained in:
Ludger Küperkoch committed 2017-05-18 13:53:22 +02:00
1 parent 77153bc8e9
commit f814ec8656
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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()