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

Document logic behind get_backend() == MAGIC_URI_THING #1

Open
flying-sheep opened this issue Feb 26, 2024 · 0 comments
Open

Document logic behind get_backend() == MAGIC_URI_THING #1

flying-sheep opened this issue Feb 26, 2024 · 0 comments

Comments

@flying-sheep
Copy link
Member

flying-sheep commented Feb 26, 2024

Would be great to have some comments to explain this:

plotting_api/src/plot.py

Lines 34 to 38 in 006d509

if not ax_was_provided:
if plt.get_backend() == "module://matplotlib_inline.backend_inline":
plt.close()
else:
plt.show()

@grst grst mentioned this issue Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant