diff --git a/GPy/plotting/matplot_dep/dim_reduction_plots.py b/GPy/plotting/matplot_dep/dim_reduction_plots.py index f428537d..6620400e 100644 --- a/GPy/plotting/matplot_dep/dim_reduction_plots.py +++ b/GPy/plotting/matplot_dep/dim_reduction_plots.py @@ -2,7 +2,7 @@ # Licensed under the BSD 3-clause license (see LICENSE.txt) import numpy as np -from latent_space_visualizations.controllers.imshow_controller import ImshowController,ImAnnotateController +from .latent_space_visualizations.controllers.imshow_controller import ImshowController,ImAnnotateController from ...core.parameterization.variational import VariationalPosterior from .base_plots import x_frame2D import itertools diff --git a/GPy/plotting/matplot_dep/mapping_plots.py b/GPy/plotting/matplot_dep/mapping_plots.py index 641b3fae..a91797b7 100644 --- a/GPy/plotting/matplot_dep/mapping_plots.py +++ b/GPy/plotting/matplot_dep/mapping_plots.py @@ -3,7 +3,7 @@ import numpy as np try: - import Tango + from . import Tango from matplotlib import pyplot as pb except: pass diff --git a/GPy/plotting/matplot_dep/ssgplvm.py b/GPy/plotting/matplot_dep/ssgplvm.py index ef45a759..b741bc5d 100644 --- a/GPy/plotting/matplot_dep/ssgplvm.py +++ b/GPy/plotting/matplot_dep/ssgplvm.py @@ -5,7 +5,7 @@ The module plotting results for SSGPLVM import pylab from ...models import SSGPLVM -from img_plots import plot_2D_images +from .img_plots import plot_2D_images class SSGPLVM_plot(object): def __init__(self,model, imgsize): diff --git a/GPy/plotting/matplot_dep/visualize.py b/GPy/plotting/matplot_dep/visualize.py index b17900db..a9522d90 100644 --- a/GPy/plotting/matplot_dep/visualize.py +++ b/GPy/plotting/matplot_dep/visualize.py @@ -4,7 +4,7 @@ import GPy import numpy as np import matplotlib as mpl import time -from GPy.core.parameterization.variational import VariationalPosterior +from ...core.parameterization.variational import VariationalPosterior try: import visual visual_available = True