mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
missing sys
This commit is contained in:
parent
a4212e1904
commit
619278a1c8
1 changed files with 2 additions and 1 deletions
|
|
@ -59,8 +59,9 @@ class Optimizer():
|
||||||
"""
|
"""
|
||||||
See GPy.plotting.matplot_dep.inference_plots
|
See GPy.plotting.matplot_dep.inference_plots
|
||||||
"""
|
"""
|
||||||
|
import sys
|
||||||
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
|
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
|
||||||
from ..plotting.matplot_dep import inference_plots
|
from ...plotting.matplot_dep import inference_plots
|
||||||
inference_plots.plot_optimizer(self)
|
inference_plots.plot_optimizer(self)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue