# Python Interactor colors

**URL:** <https://discourse.slicer.org/t/python-interactor-colors/14053>\
**Category:** Support\
**Tags:** build\
**Created:** [October 15, 2020, 11:51am UTC](https://discourse.slicer.org/t/python-interactor-colors/14053 "2020-10-15T11:51:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niels](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Niels](https://discourse.slicer.org/u/Niels)\
**Post date:** [October 15, 2020, 11:51am UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/1 "2020-10-15T11:51:43Z")

</div>

Hello,

I just installed the latest stable version on my MacBook and I noticed that the colors in the interaction are different. The Error messages are printed in white so they are not visible.

MAC  
version 4.11.20200930  
revision 29402  
built 2020-10-02

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [October 15, 2020, 11:53am UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/2 "2020-10-15T11:53:54Z")

</div>

I just noticed the exact same thing and was about to post. You can see them in dark mode, so that might be a workaround if you don’t mind dark mode.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 15, 2020, 1:16pm UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/3 "2020-10-15T13:16:50Z")

</div>

There was a [commit that fixed Python console colors](https://github.com/Slicer/Slicer/commit/ab51796fd3bf42a9f38fd82a40e0ac2ca4781e27) after the 20200930 release. Could you please try if colors look good in the latest preview release?

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [October 15, 2020, 1:21pm UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/4 "2020-10-15T13:21:50Z")

</div>

I have a recent build (couple of days old?) and the colors look fine in that, so presumably the latest preview is okay too.

Thanks!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 15, 2020, 1:24pm UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/5 "2020-10-15T13:24:51Z")

</div>

Thanks for testing. Currently, we don’t plan to have a patch release for Slicer-4.11 but we’ll see what else comes up and how long does it take to make Slicer-4.13 functional (and release Slicer-5.0).

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [October 15, 2020, 1:49pm UTC](https://discourse.slicer.org/t/python-interactor-colors/14053/6 "2020-10-15T13:49:00Z")

</div>

As a quick workaround, if you don’t want to switch to dark mode for everything, you could use:

```
slicer.util.mainWindow().pythonConsole().backgroundColor = qt.QColor(0,0,0)

```

to just switch the python console to black.
