コード例 #1
0
ファイル: __init__.py プロジェクト: dpshelio/smpy
 def sm_plot(cls,file,ars=None):
     """ Plot images as SM does """
     my_map = maps.make_map(file)
     map_fig = my_map.plot()
     plt.annotate('test',xy=(100,100))
     map_fig.savfig('test.png')
コード例 #2
0
ファイル: images.py プロジェクト: dpshelio/smpy
 def make_map(self,filename):
     my_map = maps.make_map(filename)
     return self.preprocess(my_map)