updates
This commit is contained in:
@@ -31,8 +31,8 @@ def plot_corrloads(R, pc1=0,pc2=1,s=20, c='b', zorder=5,expvar=None,ax=None,draw
|
||||
pylab.xlabel(xstring)
|
||||
ystring = "Comp: %d expl.var.: %.1f " %(pc2+1, expvar[pc2])
|
||||
pylab.ylabel(ystring)
|
||||
if labels:
|
||||
if labels!=None:
|
||||
assert(len(labels)==R.shape[0])
|
||||
for name, r in zip(labels, R):
|
||||
ax.text(r[pc1], r[pc2], " " + name)
|
||||
pylab.text(r[pc1], r[pc2], " " + name)
|
||||
#pylab.show()
|
||||
|
Reference in New Issue
Block a user