missing sys

This commit is contained in:
James Hensman 2014-02-17 11:06:08 +00:00
parent a4212e1904
commit 619278a1c8

View file

@ -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)