python interpeter should work when matplotlib is not installed

This commit is contained in:
Alex Goodman 2016-11-13 15:48:29 -08:00 committed by GitHub
parent 0a7a9d7b9b
commit 67f2ad5f3c

View file

@ -207,7 +207,7 @@ class PyZeppelinContext(object):
try:
import matplotlib
except ImportError:
pass
return
# Make sure custom backends are available in the PYTHONPATH
rootdir = os.environ.get('ZEPPELIN_HOME', os.getcwd())
mpl_path = os.path.join(rootdir, 'interpreter', 'lib', 'python')