oturns / geosnap

The Geospatial Neighborhood Analysis Package
https://oturns.github.io/geosnap-guide
BSD 3-Clause "New" or "Revised" License
247 stars 32 forks source link

add plotting for transition matrices #83

Closed knaaptime closed 4 years ago

knaaptime commented 5 years ago

work on the tobler flow mapping paper reminds me of some network plots of the markov tranistion matrices I put together for the old gentrification paper

image

It would be good to include a method for generating these as part of the vizualize module. The plots themselves can be generated with networkx which is already a dependency because of region. You can get much better layouts if you have pygraphviz installed, so this would probably induce a soft dependency

actually, since this is just a plot of the transition matrices, might this be better placed in giddy @weikang9009 ? along with, say, a heatmap plotting method too?

weikang9009 commented 5 years ago

Sounds nice. I would prefer the viz function of the transition matrix to be placed in geosnap for now since we do not need to add more dependencies.

knaaptime commented 5 years ago

cool, thanks for the feedback. I'll work on it and ping you in the PR