build_lattice_shapefile swapped arguments #138
Labels
bug
functionality that: returns invalid, erroneous, or meaningless results; or doesn't work at all.
good first contribution
I was building regular rectangular lattices in one my applications and realized that the arguments of
pysal.weights.build_lattice_shapefile is swapped as follows:
The nrows gives the number of columns and vice-versa. The reproducible code would be (in a Jupyter notebook):
Best,
Renan
The text was updated successfully, but these errors were encountered: