git://git.onelab.eu
/
nepi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac9be0
)
X11 validation in plotter
author
Alina Quereilhac
<alina.quereilhac@inria.fr>
Mon, 8 Dec 2014 13:06:50 +0000
(14:06 +0100)
committer
Alina Quereilhac
<alina.quereilhac@inria.fr>
Mon, 8 Dec 2014 13:06:50 +0000
(14:06 +0100)
src/nepi/util/plotter.py
patch
|
blob
|
history
diff --git
a/src/nepi/util/plotter.py
b/src/nepi/util/plotter.py
index
ec57ee9
..
cda1557
100644
(file)
--- a/
src/nepi/util/plotter.py
+++ b/
src/nepi/util/plotter.py
@@
-29,9
+29,9
@@
except ImportError:
try:
import matplotlib.pyplot as plt
-except
ImportError
:
- msg = ("Matplotlib library is not installed
, you will not be able
"
- "generate PNG plots.")
+except:
+ msg = ("Matplotlib library is not installed
or X11 is not enabled.
"
+ "
You will not be able
generate PNG plots.")
logger = logging.Logger("Plotter")
logger.debug(msg)