Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveform & Spectrogram Multicursor #4

Open
KinMaynard opened this issue Aug 19, 2021 · 0 comments
Open

Waveform & Spectrogram Multicursor #4

KinMaynard opened this issue Aug 19, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KinMaynard
Copy link
Owner

KinMaynard commented Aug 19, 2021

When called as individual plots both waveform & spectrogram have multicursors, however, when plotted as subplots inside the visualizer function only the multicursor referenced last works. I suspect this is due to matplotlib widgets requiring a reference to them so as to avoid garbage collection. I suspect once the second multicursor is referenced the former is garbage collected.

Directions to proceed:

  1. Research & implement how to keep references to 2 multicursors
  2. Have no multicursors in visualizer
  3. Another annotation method (Click point to display coordinate values)
  4. Use mouse event to enable reference to multicursor when mouse over relevant plot (waveform or spectrogram)

Relevant Matplotlib Docs 1
Relevant Matplotlib Docs 2

@KinMaynard KinMaynard added the enhancement New feature or request label Aug 19, 2021
@KinMaynard KinMaynard self-assigned this Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant