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')
def make_map(self,filename): my_map = maps.make_map(filename) return self.preprocess(my_map)