Skip to content

Commit

Permalink
remove plot load from slaterjastrow
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRenaud committed Oct 5, 2021
1 parent d762715 commit 31fb635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmctorch/wavefunction/slater_jastrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import torch
from scipy.optimize import curve_fit
from copy import deepcopy
import matplotlib.pyplot as plt
import numpy as np
from torch import nn
import operator
Expand Down Expand Up @@ -656,6 +655,7 @@ def sto(x, norm, alpha):

# plot if necessary
if plot:
import matplotlib.pyplot as plt
plt.plot(xdata, ydata)
plt.plot(xdata, sto(xdata, *popt))
plt.show()
Expand Down

0 comments on commit 31fb635

Please sign in to comment.