holoviz/geoviews

`datashade` a Polygons element renders it upside down with the Matplotlib backend

maximlt opened this issue · 2 comments

A datashaded polygons element is rendered upside down with the Matplotlib backend with the following code:

from holoviews.operation.datashader import datashade, rasterize
import geopandas as gpd

import geoviews as gv
gv.extension('matplotlib')

world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
ds = gv.Dataset(world, kdims=['Longitude', 'Latitude'])
datashade(gv.Polygons(ds))

image

Note that this only applies to datashade, rasterize works as expected.
image

Oops! That's embarrassing.

Might well be related to this one: holoviz/datashader#1054