Pylandstats

Latest version: v2.4.2

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

Scan your dependencies

Page 2 of 5

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)

2.0.0a0

- corrected shapely version in setup.py (bumpversion messed it)
- updated bumpversion for release candidates
- catch TypeError for existing metrics but at the wrong level
- always import modules, not methods/classes
- consistent API: all data frames obtained with `compute` methods

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.