Hi all,
I am using xcorrPickCorrection and I want the figures generated to be automatically saved. In the documentation provided this seems possible by supplying a filename within the command, however when I do this I get this error:
Traceback (most recent call last):
File “”, line 1, in
File “/apps/developers/libraries/python-libs/1.3/1/bit-64-canopy-1.5.2/lib/obspy/obspy/signal/cross_correlation.py”, line 428, in xcorrPickCorrection
fig.savefig(fname=filename)
File “/apps/developers/compilers/canopy/1.5.2/1/bit-64/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/matplotlib/figure.py”, line 1476, in savefig
self.canvas.print_figure(*args, **kwargs)
TypeError: print_figure() takes at least 2 arguments (1 given)
This seems like there is problem with Obspy interfacing with matplotlib. Is there anyway around this problem?
Many thanks,
Rebecca Smith