python-igraph 0.9.0
Added
-
Graph.DataFramenow has ause_vids=...keyword argument that decides whether
the data frame contains vertex IDs (True) or vertex names (False). (PR #348, thanks to @iosonofabio) -
Added
MatplotlibGraphDrawerto draw a graph on an existing Matplotlib
figure. (PR #341, thanks to @iosonofabio) -
Added a code path to choose between preferred image viewers on FreeBSD. (PR #354, thanks @thierry-FreeBSD)
-
Added
Graph.harmonic_centrality()that wrapsigraph_harmonic_centrality()
from the underlying C library.
Changed
-
python-igraphis now compatible withigraph0.9.0. -
The setup script was adapted to the new CMake-based build system of
igraph. -
Dropped support for older Python versions; the oldest Python version that
python-igraphis tested on is now Python 3.6. -
The default splitting heuristic of the BLISS isomorphism algorithm was changed
fromIGRAPH_BLISS_FM(first maximally non-trivially connected non-singleton cell)
toIGRAPH_BLISS_FL(first largest non-singleton cell) as this seems to provide
better performance on a variety of graph classes. This change is a follow-up
of the change in the recommended heuristic in the core igraph C library.
Fixed
-
Fixed crashes in the Python-C glue code related to the handling of empty
vectors in certain attribute merging functions (see issue #358). -
Fixed a memory leak in
Graph.closeness_centrality()when an invalidcutoff
argument was provided to the function. -
Clarified that the
fixed=...argument is ineffective for the DrL layout
because the underlying C code does not handle it. The argument was not
removed for sake of backwards compatibility. -
VertexSeq.find(name=x)now works correctly whenxis an integer; fixes
#367
Miscellaneous
-
The Python codebase was piped through
blackfor consistent formatting. -
Wildcard imports were removed from the codebase.
-
CI tests were moved to Github Actions from Travis.
-
The core C library is now built with
-fPICon Linux to allow linking to the
Python interface.