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

plot_spatial_weights including network joins for non_planar_joins #14

Merged
merged 9 commits into from
Jun 27, 2018

Conversation

slumnitz
Copy link
Member

@slumnitz slumnitz commented Jun 25, 2018

I created splot.libpysal and _viz_libpysal_mpl.py containing plot_spatial_weights(),
a visualisation showing the spatial weight network and the spatial weight network with new joins in case libpysal.weights.util.nonplanar_neighbors(weights, gdf) was called.

  • documentation (Parameters, Returns, Examples)
  • tests
  • option to customise nonplanar_edges_kws
  • notebook with extended documentation

This pull request builds on top of #13

@slumnitz slumnitz requested a review from sjsrey June 25, 2018 21:51
Copy link
Member

@sjsrey sjsrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice narrative in the notebook.

@sjsrey
Copy link
Member

sjsrey commented Jun 25, 2018

I think this is failing as the example data set in libpysal has not been released. For now you could change the test to install libpysal from master. Guide

@slumnitz slumnitz added this to In progress in GSoC 2018 Jun 26, 2018
@slumnitz
Copy link
Member Author

@sjsrey all green :)

Copy link
Member

@ljwolf ljwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nitpick (I acknowledge), but it's a nit that'll bug me forever... make the notebook filename all lowercase:

libpysal_non_planar_joins_viz.ipynb

@ljwolf
Copy link
Member

ljwolf commented Jun 26, 2018

notebook is excellent; dig the styling defaults.

@sjsrey sjsrey merged commit b5a2703 into pysal:master Jun 27, 2018
GSoC 2018 automation moved this from In progress to Done Jun 27, 2018
@slumnitz slumnitz deleted the lp-joins-viz branch August 3, 2018 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
GSoC 2018
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants