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
A good automatic default solution will probably require reliably detecting that we are in a notebook.
The default red background for stderr is a problem for pretty much any color scheme. It's a bit better if you set out=sys.stdout. The default colors for snoop don't work well on a white background, but you can choose a new theme here and pass it to color, e.g. color='manni'.
The prefix of lines (the time etc.) are colored in 'grey' (escape code '\x1b[90m') which terminals can actually choose to display however they want. In actual terminals this seems to work quite well. In Jupyter it's a complete failure - the default theme renders it pretty much black, so it doesn't get de-emphasised as it should, while in every dark theme I've tried it's unreadable. It might be best to use an escape code that specifies an RGB value so it always looks the same. Solved in Use comment color from pygments style as grey for columns #14
The text was updated successfully, but these errors were encountered:
Colors in notebooks don't look great:
Some thoughts:
out=sys.stdout
. The default colors for snoop don't work well on a white background, but you can choose a new theme here and pass it tocolor
, e.g.color='manni'
.chesterish
mostly works well with snoop's default colors.The prefix of lines (the time etc.) are colored in 'grey' (escape codeSolved in Use comment color from pygments style as grey for columns #14'\x1b[90m'
) which terminals can actually choose to display however they want. In actual terminals this seems to work quite well. In Jupyter it's a complete failure - the default theme renders it pretty much black, so it doesn't get de-emphasised as it should, while in every dark theme I've tried it's unreadable. It might be best to use an escape code that specifies an RGB value so it always looks the same.The text was updated successfully, but these errors were encountered: