-
Notifications
You must be signed in to change notification settings - Fork 101
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
hook up display system #323
Comments
It's possible |
Cool! I'll try it out... But it seems to me, that one wouldn't need anything complicated to get this working, right? Just add the repr methods to the wrapper class and we're done, wouldn't we? |
Just adding the repr methods to the wrapper class should be sufficient. In general, there are lots of small self-contained PRs that could potentially be written to enhance the functionality of the wrapper class a little at a time. |
Can you point me to where this could be done? It wasn't easy for me to find the place for such additions, since everything seems to be done via the c interface... |
JuliaPy/PyCall.jl#617 is where it's happening But you can also create a Python shim class (that's the trick I used in PyBase and ipyjulia_hacks). |
Can we by default have python jlwrap objects be hooked up to the display system?
It should just be a matter of overloading the correct repr methods.
E.g. just attach these defitions to the python object:
Or something like this ;)
The text was updated successfully, but these errors were encountered: