Skip to content

Commit

Permalink
Add operation test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Oct 10, 2023
1 parent a0747f4 commit 48fa446
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions geoviews/tests/test_operation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import geoviews as gv
import xarray as xr
from holoviews.operation import contours

def test_quadmesh_contoures_filled():
# Regression test for: https://github.com/holoviz/holoviews/pull/5925
ds = xr.tutorial.open_dataset("air_temperature").isel(time=0)
p1 = gv.QuadMesh(ds, kdims=["lon", "lat"])
p2 = contours(p1, filled=True)
gv.renderer("bokeh").get_plot(p2)

0 comments on commit 48fa446

Please sign in to comment.