示例#1
0
 def _repr_png_(self):
     return io.Image(self._rescale(self.array))._repr_png_()
comment = 'Early Skill, Early Contribution, Skill, Contribution,\n{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}'.format(
    X[:, 0].min(), X[:, 0].max(),
    X[:, 1].min(), X[:, 1].max(),
    X[:, 2].min(), X[:, 2].max(),
    X[:, 3].min(), X[:, 3].max(),)

np.savetxt('user_analysis.cpt', X, header=comment)
call([cornerplotter_path,
      '-o',
      output_directory + '/early_skill_contribution.png',
      output_directory + '/user_analysis.cpt,blue,shaded',])


# In[212]:

io.Image(plt.imread(output_directory + '/skill_contribution_experience_education.png'))


# In[213]:

io.Image(plt.imread(output_directory + '/all_skill_contribution_experience_education.png'))


# In[214]:

io.Image(plt.imread(output_directory + '/early_skill_contribution.png'))


# In[70]: