AI智能
改变未来

matplotlib color &次坐标轴

color = \'colorname\'

fig, ax1 = plt.subplots()

ax2 = ax1.twinx()

ax1.plot(x,y)

ax2.plot(x, y, color=\'darkorange\')

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » matplotlib color &次坐标轴