Graphical input from mouse or cursor

Dear Obspy users,

Is it possible to click with the mouse on the stream plot and get the X and
Y values?
Basically, I want to do the manual picking of a phase.

Sincerely,
Matthew

Hi Matthew,

the plot() functionality is really not intended for this but if you really want to you can hookup matplotlib events as described here:

To get the figure handle of a Stream plot, do:

fig = st.plot(handle=True)

Cheers!

Lion

Thank you Lion!
I hope you are well, and sorry if I bothered you with this question.

Sincerely,
Matthew

Some other tools that have been mentioned already several times in
similar questions to this list are..

GitHub - miili/StreamPick: A PyQt frontend to pick seismic wave arrival times in an ObsPy Stream object and export those in QuakeML format. (never used it myself though)
GitHub - megies/obspyck: ObsPyck is a GUI application that is intended to cover the tasks in a standard analysis workflow for seismic events in seismological observatory practice.

..and probably some others as well, you can always search the list
archives for certain keywords.. try e.g. the following search string in
google:

pick site:http://lists.swapbytes.de/archives/obspy-users

cheers,
T