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

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

Open
maximlt opened this issue Nov 17, 2021 · 2 comments
Labels

Comments

@maximlt
Copy link
Member

maximlt commented Nov 17, 2021

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

@jbednar
Copy link
Member

jbednar commented Nov 17, 2021

Oops! That's embarrassing.

@maximlt
Copy link
Member Author

maximlt commented Nov 22, 2021

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

@maximlt maximlt added this to the Version 1.9.1 milestone Dec 6, 2021
@maximlt maximlt added the type: hvplot Required to improve hvPlot label Mar 22, 2022
@hoxbro hoxbro modified the milestones: Version 1.9.6, Version 1.9.x Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants