We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
plot_moran_simulation
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
With the following preamble:
%matplotlib inline import matplotlib.pyplot as plt from pysal.viz.splot import esda as esdaplot from pysal.explore import esda from pysal.lib import weights import geopandas db = geopandas.read_file("https://github.com/rsbivand/ectqg19-workshop/raw/master/data/lux_regions.gpkg") w = weights.Queen.from_dataframe(db) w.transform = "R" mi = esda.Moran(db["light_level"], w)
The following produces this output:
Shouldn't the figure by 6x6? Also, why is it so narrow (if you don't set up the ax, it gives the same image)?
ax
The text was updated successfully, but these errors were encountered:
Nevermind, I realised if you set aspect_equal=False, the plot looks more normal... Closing for now.
aspect_equal=False
Sorry, something went wrong.
slumnitz
No branches or pull requests
With the following preamble:
The following produces this output:
Shouldn't the figure by 6x6? Also, why is it so narrow (if you don't set up the
ax
, it gives the same image)?The text was updated successfully, but these errors were encountered: