From d97f7c7d77b18394fa58ff573368868a8dcfc6c9 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Mon, 14 Jan 2019 12:25:49 +0000 Subject: [PATCH 1/2] Ensure backend is initialized on import --- geoviews/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geoviews/__init__.py b/geoviews/__init__.py index 2db79d36..15750876 100644 --- a/geoviews/__init__.py +++ b/geoviews/__init__.py @@ -26,6 +26,9 @@ __version__ = str(param.version.Version(fpath=__file__, archive_commit="$Format:%h$", reponame="geoviews")) +# Ensure opts utility is initialized with GeoViews elements +if extension._loaded: + Store.set_current_backend(Store.current_backend) # make pyct's example/data commands available if possible from functools import partial From 592d39ed15ddd20ddcac21fd8f8244fe4d31e1ce Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Mon, 14 Jan 2019 13:00:56 +0000 Subject: [PATCH 2/2] Pinned pyctdev --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2b23a5d8..6a7800a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,7 +53,7 @@ jobs: - pip install pyctdev && doit miniconda_install && pip uninstall -y doit pyctdev - export PATH="$HOME/miniconda/bin:$PATH" && hash -r - conda config --set always_yes True - - conda install -c pyviz pyctdev && doit ecosystem_setup + - conda install -c pyviz "pyctdev>=0.5" && doit ecosystem_setup install: - doit env_create $CHANS_DEV --python=$PYENV_VERSION - source activate test-environment