Mar-12-2022, 10:56 PM
(This post was last modified: Mar-12-2022, 11:49 PM by Yoriz.
Edit Reason: Added code tags
)
Hi - I'm new to Python and are working with debugging a script that was developed for Python 2.7.
This is my error:
Kind Regards
Dave
This is my error:
Error:Traceback (most recent call last):
File "init_collapse.py", line 115, in <module>
cs=contour(kxx,kyy,-kelevation,[collapse_depth])
NameError: name 'contour' is not defined
I just wonder if 'contour' is a module I should have available. These are the modules the script calls for:from scipy import * #from pylab import * from numpy import * import sys from degrees2utm import * from copy import deepcopy from matplotlib.patches import PathPatchHas it something to do with 'matplotlib.patches import PathPatch' because this is the only module I could not find to load?
Kind Regards
Dave