I adjusted the colororder for my plot by rcParams['axes.color_cycle'] = [some nice and carefully chosen colours]
But when I use twinx for a second axes the colororder is reset:
 from matplotlib import pyplot as plt
 from matplotlib import rcParams
 rcParams['axes.color_cycle'] = ['r','g','k']
 fig = plt.figure()
 ax = fig.add_subplot(1,1,1)
 ax1 = plt.twinx(ax) 
 ax.plot([1,2,3],[4,5,6])
 ax.plot([1,2,3],[7,6,4])
 ax1.plot([1,2,3],[5,3,1])
Is there a way to circumvent that? The line plotted on ax1 should be black.
 
     
     
     
     
    