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

[Feature Suggestion] Option to call plt.show() later for plotting. #81

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

btasdelen
Copy link
Collaborator

This PR adds an optional input parameter to seq.plot() that controls if plt.show() is to be called by the function or by the user. This is useful for Matplotlib, since, once show() is called, the rest of the script will be blocked till the plots are closed, meaning, no further modification on the plots can be done by the user.

A very convenient use case for me is adding data cursors, similar to Matlab's data tips using the mplcursors library.

@sravan953 sravan953 self-assigned this Oct 4, 2022
@sravan953 sravan953 merged commit 07db62b into imr-framework:dev Oct 4, 2022
@sravan953
Copy link
Collaborator

Thank you!

@sravan953 sravan953 added the enhancement New feature or request label Oct 4, 2022
@btasdelen btasdelen deleted the show_blocking branch November 23, 2022 20:06
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

Successfully merging this pull request may close these issues.

None yet

2 participants