Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions analysator/plot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
import platform
from packaging.version import Version
from numbers import Number

import logging
try:
from .plot_isosurface import plot_isosurface, plot_neutral_sheet
if Version(platform.python_version()) < Version("3.7"):
Expand Down Expand Up @@ -292,7 +292,9 @@ def cell_edgecontours(ax,XmeshPass,YmeshPass,heightmap,threshold=0,linewidth=0.5
lines = np.vstack((vlines, hlines))

ax.add_collection(matplotlib.collections.LineCollection(lines, lw=linewidth, colors=colors, linestyle=linestyle,zorder=2,antialiased=antialiased))

else:
logging.info(f"No values found above the threshold={threshold} in heightmap.")
return 1

return 0
def output_path(outputfile,outputfile_default,outputdir,nooverwrite):
Expand Down