Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upadapting existing `esda` functionality to `splot.esda` namespace and allow `.plot()` method #13
Conversation
slumnitz
added some commits
Jun 13, 2018
slumnitz
requested review from
sjsrey
and
ljwolf
Jun 19, 2018
This comment has been minimized.
This comment has been minimized.
all cleaned up and working :) |
slumnitz
requested a review
from
darribas
Jun 19, 2018
This comment has been minimized.
This comment has been minimized.
I will leave the documentation build by sphinx out of this pull request for now, because I am starting to encounter some not so easy to solve issues. I will open another pull request concerning documentation later. |
slumnitz
added this to In progress
in GSoC 2018
Jun 20, 2018
slumnitz
referenced this pull request
Jun 21, 2018
Open
implement `.plot()`, `.scatterplot()` and `.lisa_map()` methods for `Moran_Local` object #19
sjsrey
reviewed
Jun 25, 2018
Looks good to me. I just have one comment. |
def moran_scatterplot(moran_loc, p=None, figsize=(7,7), xlabel='Attribute', | ||
ylabel='Spatial Lag', title='Moran Scatterplot', | ||
ax=None, alpha=0.6): | ||
def moran_loc_scatterplot(moran_loc, p=None, |
This comment has been minimized.
This comment has been minimized.
sjsrey
Jun 25, 2018
Member
Not sure about the renaming of this function (I could be forgetting - or I missed - the discussion). moran_scatterplot
seems cleaner (and matches the docstring).
This comment has been minimized.
This comment has been minimized.
slumnitz
Jun 25, 2018
Author
Member
I renamed it because I started creating visualizations for other esda
spatial autocorrelation objects like "Global" Moran
, discussed before in #10.
In order to distinguish visualizations for Moran
, Moran_Local
, Moran_BV
, ... I renamed this one Ito moran_loc_scatterplot
.
Here is a first draft of how the "Global" Moran
visualization could look like:
slumnitz commentedJun 18, 2018
•
edited
adapt existing code from
._viz_mpl.py
to be used asesda
.plot()
method and be called thoughsplot.esda
.._viz_mpl.py
to._viz_esda_mpl.py
esda.py
namespacemoran_scatterplot()
tomoran_loc_scatterplot()
**kwargs
as function parameter where possibletest_viz_esda_mpl.py
to test new functionalityAlso:
splot
(found inlibpysal
in future)