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

IPython/Jupyter Rich Display Support #413

Open
corranwebster opened this issue Sep 25, 2020 · 1 comment
Open

IPython/Jupyter Rich Display Support #413

corranwebster opened this issue Sep 25, 2020 · 1 comment
Labels
ETS Backlog Good issue for ETS team members to look at type: enhancement

Comments

@corranwebster
Copy link
Contributor

corranwebster commented Sep 25, 2020

The IPython/Jupyter notebook display system looks for certain specially named methods to support their "rich display" system.

For Kiva graphic contexts which have output compatible with the display types that are supported, it would make sense to add these methods. This would be, in particular:

  • image-based backends which can produce PNG formatted output should support _repr_png_()
  • the SVG backend should support _repr_svg_()
  • it may make sense for the PS and PDF backends to support _repr_mimebundle_() and return application/postscript or application/pdf as appropriate, although it is not clear if Jupyter will do anything sensible with them

The first two are implemented in #389, but it needs tests.

@corranwebster corranwebster added type: enhancement ETS Backlog Good issue for ETS team members to look at labels Sep 25, 2020
@jwiggins
Copy link
Member

Can we close this now that #389 has been merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ETS Backlog Good issue for ETS team members to look at type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants