Skip to content
Snippets Groups Projects
Commit e6d3af4d authored by Christoph Groth's avatar Christoph Groth
Browse files

fix has3d undefined if mplot3d not available

parent 7774dacc
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ try:
has3d = True
except ImportError:
warnings.warn("3D plotting not available.", RuntimeWarning)
has3d = False
except ImportError:
warnings.warn("matplotlib is not available, only iterator-providing "
"functions will work.", RuntimeWarning)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment