Open JNU-Tangyin opened 5 years ago
This depends on #1 being solved first. Notebooks support coloring via ASCII escape codes so the same code should pretty much work, although getting the colors to look good may take extra work.
I recommend you try the alternative library snoop. It has output coloring and special Jupyter notebook support. Also in my opinion the output is also easier to read even without coloring (if you don't agree, you can discuss the layout here). Here is an example:
Admittedly it doesn't look as good as it does in the terminal, I've opened https://github.com/alexmojaki/snoop/issues/8 which has some workarounds and where we can brainstorm how to tackle this.
the above is a usually appeared screen-shot in jupyter notebook, if colored in columns, it would be really helpful to distinguish time/line number/code/variables parts.