-
Notifications
You must be signed in to change notification settings - Fork 26
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
Consistent hot/cold spot colors for local moran #185
Conversation
This reverts commit b2acf98.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with this but we should probably move these plotting functions to esda anyway.
Agreed. |
nice. I actually thought this was already fixed. The other thing we need to fix is ensuring a square axis. The current implementation always elongates the Y to make it look like the slope of the regression line is 1. +1 on the move. We should probably start a plotting branch in esda soon |
You sure about that? right now the scale of units along x and y is the same. If you enforce square axis, this would get distorted. |
checkout cell 6 in the splot docs https://nbviewer.org/github/pysal/splot/blob/main/notebooks/esda_morans_viz.ipynb that slope is supposed to be .35 |
lol ok yes, bad example i'm still confident there's still an issue that all the moran plots in splot and up with a slope that appears to be 1 |
yeah, slope is wrong on all of these |
I moved the discussion on regression line to #186. I have also figured out why it is wrong. |
This PR is to
moran_scatterplot
andlisa_cluster
when p values are small #131 and BUG: plot_local_autocorrelation colors do not match between subplots #178Before:
After: