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
When working in Jupyter notebooks, long error messages can often be intrusive and add a lot of visual clutter to notebooks.
A couple of extensions ([classic notebook nbextensions/skip-traceback(https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/skip-traceback) and jupyterlab-skip-traceback) both collapse the traceback under the error header, but I note that the friendly extension breaks at least the classic notebook extension.
For the Jupyter layout, it would be useful to return errors using the skip-traceback style folded display (perhaps with a setting to override a by-default collapsed view with an expanded view).
The text was updated successfully, but these errors were encountered:
Thanks for this suggestion. I do not use Jupyter notebooks - except for testing with friendly - and was not aware of these extensions. I will look into implementing this after I finish preparing a talk for PyConAu.
I take this as different than what I propose in #5. Here, I consider finding a way to make the output of friendly compatible with the existing extensions. From what I have read, this means "packaging" the information compiled by friendly in a different way, rather than simply printing it.
I think that an iPywidget like suggested in #5 would be more user-friendly, but want to give the option for people to keep the existing ones (especially if they do not control what is installed by default and want to use friendly).
When working in Jupyter notebooks, long error messages can often be intrusive and add a lot of visual clutter to notebooks.
A couple of extensions ([classic notebook
nbextensions/skip-traceback
(https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/skip-traceback) andjupyterlab-skip-traceback
) both collapse the traceback under the error header, but I note that the friendly extension breaks at least the classic notebook extension.For the Jupyter layout, it would be useful to return errors using the skip-traceback style folded display (perhaps with a setting to override a by-default collapsed view with an expanded view).
The text was updated successfully, but these errors were encountered: