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
This is mostly applicable to working in a notebook or lab environment, but I would like to be able to customize what happens when I call ? on the classes and objects in the libraries I write. This kind of hook already exists for displaying objects through _ipython_display_ and now I would just like it to also work for calling like ?MyNiceClass
In principle, this should be easy as ? just calls into the pinfo magic which could check for the existence of some hook like _ipython_pinfo_ or something similar, although two variants might be required, one for instances and one for classes
The text was updated successfully, but these errors were encountered:
[Related to https://github.com/jupyterlab/jupyterlab/issues/13217]
This is mostly applicable to working in a notebook or lab environment, but I would like to be able to customize what happens when I call
?
on the classes and objects in the libraries I write. This kind of hook already exists for displaying objects through_ipython_display_
and now I would just like it to also work for calling like?MyNiceClass
In principle, this should be easy as
?
just calls into thepinfo
magic which could check for the existence of some hook like_ipython_pinfo_
or something similar, although two variants might be required, one for instances and one for classesThe text was updated successfully, but these errors were encountered: