Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TestGeoviews #1383

Merged
merged 3 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ RUN apt-get install -y libfreetype6-dev && \
RUN pip install opencv-contrib-python opencv-python && \
/tmp/clean-layer.sh

RUN pip install scipy \
# Pin scipy until we update JAX b/335003097
RUN pip install scipy==1.12.0 \
# Scikit-learn accelerated library for x86
scikit-learn-intelex>=2023.0.1 \
# HDF5 support
Expand Down
3 changes: 2 additions & 1 deletion tests/test_geoviews.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import unittest

import geoviews.feature as gf

import holoviews as hv
from cartopy import crs

class TestGeoviews(unittest.TestCase):
def test_viz(self):
hv.extension('matplotlib')
(gf.ocean + gf.land + gf.ocean * gf.land * gf.coastline * gf.borders).options(
'Feature', projection=crs.Geostationary(), global_extent=True
).cols(3)