color = 'colorname'
matplotlib color &次坐标轴
fig, ax1 = plt.subplots()
ax2 = ax1.twinx()
ax1.plot(x,y)
ax2.plot(x, y, color='darkorange')

相关文章: