You can turn off the colours that come from the kernel (tracebacks,
inspection output) by setting c.InteractiveShell.colors in the kernel
config:
http://ipython.readthedocs.io/en/stable/config/options/kernel.html

There is not currently a config option in jupyter_console to turn off
prompt colours and syntax highlighting in the frontend, but it would be a
reasonable addition to make this customisable.

On 2 October 2016 at 02:42, Dan Davison <[email protected]> wrote:

> How can I tell a  `jupyter console --existing` shell to not use any
> colors? In particular, no color for the prompts.
>
> I can achieve this in a plain ipython shell with the following in
> ipython_config.py
>
> c.TerminalInteractiveShell.colors = 'NoColor'
>
> However, I have not managed to do this in `jupyter console` (whether
> `--existing` or not, but it is the `--existing` case that I particularly
> want a solution for).
>
> Thanks!
>
> Dan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/ec248859-013a-40eb-a539-9247197a5000%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/ec248859-013a-40eb-a539-9247197a5000%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qjV9mRWqg-Qb%2BGy2hBstJMjQSqeUxvF3tW0%2Bx%2BzHfunMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to