You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "IPython protocol" is basically objects exposing _repr_html_(). IPython has a display() method that sends those to the notebook, and similarly does the same for the cell's "output" (last line).
To support everything that works in IPython:
Use _repr_html_() to format rich objects for the notebook
Need to make sure that calling IPython.display.display() sends objects to our frontend
TLDR
%matplotlib inlinefor Vizier 😉The "IPython protocol" is basically objects exposing
_repr_html_(). IPython has adisplay()method that sends those to the notebook, and similarly does the same for the cell's "output" (last line).To support everything that works in IPython:
_repr_html_()to format rich objects for the notebookIPython.display.display()sends objects to our frontendipykernelsets aDisplayPublisher(andInteractiveShell). By their own admittance, this part of IPython is not very well factored.display()display()?)ipykernelsets$MPLBACKENDtomodule://ipykernel.pylab.backend_inlinewith ashow()that callsdisplay(), so every figure created is sent to the notebook