git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
X11 validation in plotter
[nepi.git]
/
src
/
nepi
/
util
/
plotter.py
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
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)
logger = logging.Logger("Plotter")
logger.debug(msg)