GPy/GPy/plotting/__init__.py

11 lines
514 B
Python
Raw Normal View History

2014-01-28 14:36:44 +00:00
# Copyright (c) 2014, GPy authors (see AUTHORS.txt).
# Licensed under the BSD 3-clause license (see LICENSE.txt)
2014-09-12 11:51:51 +01:00
try:
from . import matplot_dep
2014-09-12 11:51:51 +01:00
except (ImportError, NameError):
# Matplotlib not available
import warnings
warnings.warn(ImportWarning("Matplotlib not available, install newest version of Matplotlib for plotting"))
#sys.modules['matplotlib'] =
#sys.modules[__name__+'.matplot_dep'] = ImportWarning("Matplotlib not available, install newest version of Matplotlib for plotting")