mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-17 15:35:20 +02:00
[inducing] 3d added
This commit is contained in:
parent
cfae854f88
commit
57d2f98570
7 changed files with 68 additions and 30 deletions
|
|
@ -22,10 +22,11 @@ def change_plotting_library(lib):
|
|||
current_lib[0] = None
|
||||
#===========================================================================
|
||||
except (ImportError, NameError):
|
||||
import warnings
|
||||
warnings.warn(ImportWarning("{} not available, install newest version of {} for plotting".format(lib, lib)))
|
||||
config.set('plotting', 'library', 'none')
|
||||
|
||||
raise
|
||||
import warnings
|
||||
#warnings.warn(ImportWarning("{} not available, install newest version of {} for plotting".format(lib, lib)))
|
||||
|
||||
from ..util.config import config
|
||||
lib = config.get('plotting', 'library')
|
||||
change_plotting_library(lib)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue