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
Hi, I have just realized that ax.set_title() uses as default the color defined in rcParams["text.color"] instead of using the color from rcParams["axes.labelcolor"]. Why is that?
In my case, I was trying to create an style for dark figure background and light axes background. Therefore, as the title is on top of the figure background like the axis labels and ticklabels, I expected them to have the same color. Below there are two examples, both have axes.labelcolor white but they have different text.color.
Maybe 'color': rcParams['axes.labelcolor'] could be added to the default fontdict like axes.titlesize and axes.titleweight?
I added an ax.set_title to the style sheet reference script and only solarized theme will be modified by this. It could affect user made themes though, but I feel that it is more coherent like this.
Yes, this is also an option, but seeing as only 1 of the available styles has axes.labelcolor different than text.color, I am not sure if this is necessary.
Activity
timhoffm commentedon Jun 30, 2019
On the danger of proliferation of config parameters (not sure if this is a real problem though), it would be reasonable to make and
axes.titlecolor.OriolAbril commentedon Jun 30, 2019
Yes, this is also an option, but seeing as only 1 of the available styles has axes.labelcolor different than text.color, I am not sure if this is necessary.
timhoffm commentedon Jul 21, 2019
Implemented by #14707.