You can "force" whatever colour you like into the labels or anything actually. Assuming you have a figure, you can change:
- spines. (Spines are the lines connecting the axis tick marks and noting the boundaries of the data area aka the borders of the plot)
ax.spines['bottom'].set_color('#dddddd')
ax.spines['top'].set_color('#dddddd')
ax.spines['right'].set_color('red')
ax.spines['left'].set_color('red')
- ticks (Ticks are the values used to show specific points on the coordinate axis aka the thing you're interested in, I think)
ax.tick_params(axis='x', colors='red')
ax.tick_params(axis='y', colors='red')
ax.yaxis.label.set_color('red')
ax.xaxis.label.set_color('red')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…