Pylandstats

Latest version: v3.0.3

Safety actively analyzes 701442 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

2.2.0

- fill `NaN` values according to the metric in `MultiLandscape.compute_class_metrics_df`
- consistent imports so that there are no direct class/function calls, and no module abbreviations in the documentation
- zonal analysis with more general `masks` argument, which also accepts vector geometries (and replaces the now deprecated `masks_arr`)

2.1.3

- ensure numeric dtypes in metrics data frames
- `np.nan` nodata in img passed to `rasterio.plot.show` in `plot_landscape`

2.1.2

- more robust `loc` (with index and columns) to compute metrics data frames in `MultiLandscape`

2.1.1

- corrected `ZonalGridAnalysis` docstring
- corrected computation of `num_zone_cols` in `ZonalGridAnalysis`

2.1.0

- configured flake8 in setup.cfg and added flake8 test in travis.yml
- added `compute_zonal_statistics` method to `ZonalAnalysis` and aded `ZonalGridAnalysis` class
- Implemented the `effective_mesh_size` metric

2.0.0a1

- gradient -> zonal
- corrected cmap arg: default from rcParams, accept str
- updates in the docs (changed link to notebook + cleaned Makefile)

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.