def initialize(): spinconfig = isingmodel.initialize(100) spmisc.imsave("init.pdf", spinconfig)
def initialize(): spinconfig = isingmodel.initialize(100) plt.imshow(spinconfig) plt.savefig('init.pdf')