def plot_taylor(axes, refsample, sample, *args, **kwargs):
std = np.std(refsample)/np.std(sample) or std = np.std(sample)
corr = np.corrcoef(refsample, sample)
theta = np.arccos(corr[0,1])
t,r = theta,std
d = axes.plot(t,r, *args, **kwargs)
return d
哪种是对的?