Skip to content
Advertisement

Tag: colors

Changing color of seaborn plot line

I can’t change the color of a 2d line in seaborn. I have 2 lines in my plot and I want to assign different colors for both of them. But color=’red’ does not change the color, why? Answer You have a couple of options here. You can tweak your use of the color parameter, or you can use the palette

Python: Tkinter: How to change the windows border color?

Every result I’ve gotten from searching this question up has to do with changing the border color for Tkinter widget’s WITHIN the main app window, or changing the background color and stuff. What I’m looking to do is actually change the windows border color itself. Which I have marked in this picture here I read some stuff concerning ‘Styles’ but

Elegantly changing the color of a plot frame in matplotlib

This is a kind of follow-up question to this post, where the coloring of axes, ticks and labels was discussed. I hope it is alright to open a new, extended question for this. Changing the color of a complete frame (ticks and axes) around a double-plot (via add_subplot) with axes [ax1, ax2] results in a lot of code. This snippet

Advertisement