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

feature request: colored scheme in Jupyter-Notebook/terminal #143

Open
JNU-Tangyin opened this issue Jul 21, 2019 · 1 comment
Open

feature request: colored scheme in Jupyter-Notebook/terminal #143

JNU-Tangyin opened this issue Jul 21, 2019 · 1 comment

Comments

@JNU-Tangyin
Copy link

image

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.

@alexmojaki
Copy link
Collaborator

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:

Screen Shot 2019-07-21 at 21 10 57

Admittedly it doesn't look as good as it does in the terminal, I've opened alexmojaki/snoop#8 which has some workarounds and where we can brainstorm how to tackle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants