ax1.set_ylabel("exp")
ax2.plot(time, data2, color=c2)
ax2.set_ylabel("sin")
return ax1, ax2
// Create some mock data
After Change
ax.plot(time, data, color=c)
// Color the y-axis (both label and tick labels)
ax.yaxis.label.set_color(c)
for t in ax.get_yticklabels():
t.set_color(c)
return ax1, ax2
// Create some mock data
t = np.arange(0.01, 10.0, 0.01)