TopoPyScale
TopoPyScale copied to clipboard
topo_utils: FsmPlot() undefined variables
def FsmPlot(df):
df.plot(subplots=True)
plt.title("Sample=" + str(sampleN) + " Elev=" + str(np.round(lp.elevation[sampleN])))
plt.show()
undefined variables:
-
sampleN
-
lp
I comment out this function until fixed
actually there are more:
./TopoPyScale/topo_utils.py:23:38: F821 undefined name 'resample_func'
df = df.resample(freq).apply(resample_func)
^
./TopoPyScale/topo_utils.py:39:38: F821 undefined name 'resample_func'
df = df.resample(freq).apply(resample_func)
^
./TopoPyScale/topo_utils.py:218:5: F821 undefined name 'FsmPlot'
FsmPlot(df)
^
./TopoPyScale/topo_utils.py:222:5: F821 undefined name 'FsmPlot'
FsmPlot(df)
^
4 F821 undefined name 'resample_func'
I'll comment out lines: 23, 39, 218 222 until fixed
and many hard path in function: def val_plots():