File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
numpy>=1.11
2
2
scipy>=0.18
3
- networkx>=1.11
3
+ networkx>=2.7
4
4
numba>=0.29
5
5
pandas>=0.24
6
6
openpyxl>=2.4
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ include_package_data = True
48
48
install_requires =
49
49
imageio>=2.0
50
50
matplotlib>=3.0
51
- networkx>=2.0
51
+ networkx>=2.7
52
52
numba>=0.50
53
53
numpy>=1.16.5
54
54
pandas>=1.0
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ def overlay_skeleton_networkx(
399
399
if image is not None :
400
400
cmap = cmap or 'gray'
401
401
axis .imshow (image , cmap = cmap )
402
- gnx = nx .from_scipy_sparse_matrix (csr_graph )
402
+ gnx = nx .from_scipy_sparse_array (csr_graph )
403
403
# Note: we invert the positions because Matplotlib uses x/y for
404
404
# scatterplot, but the coordinates are row/column NumPy indexing
405
405
positions = dict (zip (range (coordinates .shape [0 ]), coordinates [:, ::- 1 ]))
You can’t perform that action at this time.
0 commit comments