-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make output figures resizable #15
Comments
Hi, @mdboom Can I be assigned on this issue ? |
Thanks @ashutoshbsathe ! you are of course welcome to work on this. |
Sweet ! |
You may want to start by looking at how the |
@mdboom Thanks for the tip. Am I on correct path ? |
Yes, it sounds like you're on the right path. |
I'm having an issue regarding the installation. Here's the log EDIT : Seems like the bin/pyodide shell script didn't preserve my python3 aliases(which seems to be a really bad way for forcing python3). I modified the python in that code with path to my python3 and build seems to have proceeded now. |
@ashutoshbsathe : I was just about to suggest trying the same thing. Does simply replacing the |
@mdboom I actually replaced both occurrences of EDIT : In general, we should check if the user has multiple versions of |
I believe (though I can no longer find the reference) that It would be great to have a PR for this. Thanks for offering! |
Okay, so after a week of hacking, I've made following observations :
I think this approach(above) that Matplotlib uses is not good for our case since our full kernel lies in web browser, I think our case can be managed by single Also, In any case, I need to attach a Lastly, if we're going to need (Thanks for reading such a long comment) |
No -- since matplotlib isn't remote in our case, we have a much simpler time. When I said "use the same approach", I mainly just meant the JS/CSS that is used to resize the canvas. The communication with matplotlib can happen directly through function calls in our case.
Yes. It's the
Yep.
https://github.com/iodide-project/pyodide/blob/master/docs/type_conversions.md
Pyodide doesn't currently depend on jQuery, and I'd like to avoid adding that dependency if possible (since applications embedding Pyodide may want to use any number of Javascript frameworks). Ideally, you would figure out what jQuery is doing under the hood and implement it in "pure Javascript" (but implemented in Python).
No problem. I appreciate the detail. |
The matplotlib figures should be resizable with a little "handle", like in the WebAgg backend.
The text was updated successfully, but these errors were encountered: