Published June 23, 2024 | Version 2.8.0
Software Open

NNGT 2.8.0: support numpy >= 2

Description

NNGT is a python library for graph generation and analysis.

It now equires matplotlib >= 3.6 and igraph >= 0.10 (for people who use it as a backend, it stays an optional dependency).

Improvements and bugfixes

  • improved colorbar for plots
  • fix fallback if requested backend fails
  • avoid zero width/height shapes
  • improve shape fallback if shapely is missing

Compatibility

  • better matplotlib compatibility for graph-tool and igraph
  • move to np.nan instead of NaN for numpy 2
  • move to packaging instead of pkg_resources
  • move to setuptools instead of distutils
  • more robust installation procedure

Maintenance and cleanup

  • update build tests and args in setup.py and pyxbld
  • remove use of old numpy random (randint/get_state)
  • remove some unused imports
  • ability to run compatibility tests for a subset of backends
  • use venv for CI
  • skip graph-tool in tests until it is fixed
  • fix documentation

Files

Files (339.0 kB)

Name Size Download all
md5:3ee990498109293ed94bb4d197e93985
339.0 kB Download

Additional details

Related works

Is compiled by
Workflow: https://git.sr.ht/~tfardet/NNGT (URL)
Is documented by
Software documentation: https://nngt.readthedocs.io/en/stable (URL)
Is new version of
Software: 10.5281/zenodo.10624861 (DOI)

Software

Repository URL
https://codeberg.org/tfardet/NNGT
Programming language
Python, C++, Cython
Development Status
Active