Skip to content

Commit

Permalink
🔀 Merge branch 'interactive_pyviz_plots' (#31)
Browse files Browse the repository at this point in the history
Closes #31 Enable interactive PyViz plots properly.
  • Loading branch information
weiji14 committed May 23, 2020
2 parents 3ff6d60 + 2864d05 commit 3a1e2ec
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 27 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ RUN conda activate deepicedrain && \
rm --recursive ${HOME}/.cache/pip && \
poetry show

# Install jupyterlab extensions
RUN conda activate deepicedrain && \
jupyter labextension install @pyviz/jupyterlab_pyviz && \
jupyter labextension list

# Setup DeepBedMap virtual environment properly
RUN conda activate deepicedrain && \
python -m ipykernel install --user --name deepicedrain && \
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ Finally, double-check that the libraries have been installed.

poetry show

(Optional) Install jupyterlab extensions for interactive [bokeh](https://bokeh.org) visualizations.

jupyter labextension install @pyviz/jupyterlab_pyviz

jupyter labextension list # ensure that extension is installed

## Running jupyter lab

conda activate deepicedrain
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- conda-forge::geos=3.8.1[md5=7282fbe0c036bacad959c03c05a7eb9a]
- conda-forge::gmt=6.0.0[md5=dc8ef0c0d63b1fbd0caf761b939a5bc9]
- conda-forge::gxx_linux-64=7.3.0[md5=170a667cc95fead22a9e38aba0e3486d]
- conda-forge::nodejs=13.13.0[md5=cf25f8cee7aad7f417980872d34d8fd6]
- conda-forge::parallel=20200322[md5=fdfd211013d373cd36126b6c059bc9e9]
- conda-forge::pip=20.1[md5=db77ee5f3abc11201e877b7477e81d74]
- conda-forge::poetry=1.0.5[md5=171d7400c2aae11e3a3a30055de3eaa7]
Expand Down
65 changes: 39 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cartopy = "^0.18.0"
cython = "^0.29.18"
datashader = "^0.10.0"
distributed = "^2.16.0"
geoviews = "^1.7.0"
geoviews = "^1.8.1"
h5netcdf = "^0.8.0"
intake = {extras = ["dataframe", "server"], version = "^0.5.5"}
intake-xarray = { git = "https://github.com/intake/intake-xarray.git", rev = "bf98a3c69eea81be716b310e33aeefbf1a89b1d0" }
Expand Down

0 comments on commit 3a1e2ec

Please sign in to comment.