The class method in the title is expecting a dictionary with values of type list, and this is not documented, nor it is intuitive.
Matplotlib version 1.5.1 (OS X.11.4 and Ubuntu 16.04) installed via pip When you manually set the color for the axis ticks via ax.tick_params(labelcolor='w') Then if the scale of the plot changes to ...