You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@StevenLi-DS, thank you for the issue! We currently do not support the change of a cmap in lisa_cluster(). But I will have a look at it for a future release.
If you are interested in changing the colours and need a quick fix, I would recommend cloning the splot GitHub repo, installing splot from your local copy (e.g. installing splot as a developer with cd splot, pip install . in your chosen Conda environment) and changing the colours in: def mask_local_auto(moran_loc, p=0.5): found in _viz_utils.py.
There is a little bit of information on how to install splot for development here and I am happy to add some more in the coming weeks.
I came across the following problem:
https://gis.stackexchange.com/questions/329433/how-to-fix-colors-of-lisa-cluster-maps-from-pysal
I tried to set another colormap, such as
splot/splot/_viz_esda_mpl.py
Lines 921 to 932 in 11da787
The text was updated successfully, but these errors were encountered: