Skip to content

Commit

Permalink
fix xcorrPickCorrection() image file output
Browse files Browse the repository at this point in the history
  • Loading branch information
megies committed Oct 26, 2015
1 parent f440bc5 commit 6e6c849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -44,6 +44,7 @@
format will correctly detect more files as StationXML that have very
slight breaches of the schema but still can be interpreted as
StationXML.
* fix saving `xcorrPickCorrection()` results to an image file (see #1154)
- obspy.taup:
* Calculating arrival times for surface waves now works (see #1055)
* Calculating arrivals for underside reflections now works (see #1089)
Expand Down
2 changes: 1 addition & 1 deletion obspy/signal/cross_correlation.py
Expand Up @@ -425,7 +425,7 @@ def xcorrPickCorrection(pick1, trace1, pick2, trace2, t_before, t_after,
ax2.legend(loc="lower right", prop={'size': "x-small"})
# plt.legend(loc="lower left")
if filename:
fig.savefig(fname=filename)
fig.savefig(filename)
else:
plt.show()

Expand Down

0 comments on commit 6e6c849

Please sign in to comment.