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

[ENH] plotting for libpysal raster functionality #112

Open
2 of 5 tasks
slumnitz opened this issue Aug 17, 2020 · 2 comments
Open
2 of 5 tasks

[ENH] plotting for libpysal raster functionality #112

slumnitz opened this issue Aug 17, 2020 · 2 comments

Comments

@slumnitz
Copy link
Member

slumnitz commented Aug 17, 2020

space to discuss visualisations for new raster functionality

Idea to include plotting functionality for weights generated using raster data see

This would include:

suggestions:

  • to refactor plot_spatial_weights() to automatically detect and plot a raster weights object
  • potentially to 'zoom' new plot_spatial_weights() plots to areas with no data values, to check whether weights where build correctly, or create new functionality called check_spatial_weights() that does the according including plotting a raster multiplot (to be discussed)
  • plot small multiples and weights only?
  • in general to refactor plot_spatial_weights() to use the new planned id_order() attribute.
  • how to efficiently build weights lines? possibility to plot weights lines on raster instead of creating polygons?

Examples can be seen in @MgeeeeK raster examples notebook

space for declined aspects:

  • [ ]
@MgeeeeK
Copy link

MgeeeeK commented Aug 19, 2020

I'd a small doubt related to the first point... gdf argument of plot_spatial_weights() method accepts only geopandas dataframe, since we're going to make it work with both raster and vector data, therefore we need another argument to pass DataArray but this wont be similar to automatically detecting the type of the data.

@MgeeeeK
Copy link

MgeeeeK commented Aug 19, 2020

I was also thinking of combining weights plot along with the raster plot (like a two column subplots), will add a link to a notebook for showing the prototype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants