Following the advice of Changing the color of the axis, ticks and labels for a plot in matplotlib I have managed to set the colour of the spine, label, numbers and ticks of my graph using:
ax.spines['left'].set_color('#FF9000')
ax.yaxis.label.set_color('#FF9000')
ax.tick_params(axis='y', colors='#FF9000')
However, when I set the axes of my graph to log scale the ticks revert to black again.
For example:
ax.set_yscale('log')
ax.spines['left'].set_color('#FF9000')
ax.yaxis.label.set_color('#FF9000')
ax.tick_params(axis='y', colors='#FF9000') <-- now only half works
This draws the numbers the colour I want (so I know the command still does something) but doesn't affect the ticks.
Is there a way to set the colour of log scaled ticks?