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

Is it possible to plot in debug? #12

Open
akiross opened this issue Feb 14, 2019 · 3 comments
Open

Is it possible to plot in debug? #12

akiross opened this issue Feb 14, 2019 · 3 comments

Comments

@akiross
Copy link

akiross commented Feb 14, 2019

Hello and, first, thanks for web-pdb!

I was wondering if it is possible to have some integration/support for showing matplotlib plots directly in the browser. That would help a lot when debugging scientific applications, in which plots are extremely useful.
I know this could be a long shot, but I really think there is an empty spot for this kind of debugging.

Is it possible?

@romanvm
Copy link
Owner

romanvm commented Feb 15, 2019

I don't quite understand the scenario of using such feature, so could you explain a bit more?

@akiross
Copy link
Author

akiross commented Feb 15, 2019 via email

@romanvm
Copy link
Owner

romanvm commented Feb 18, 2019

Thank you for the explanation. I think it is possible to implement downloading file objects that exist in the current scope. But for that you will need to save your image or plot into an in-memory file object like io.BytesIO.

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

2 participants