pygraphblas icon indicating copy to clipboard operation
pygraphblas copied to clipboard

`pygraphblas.gviz.draw` does not draw most nodes

Open bsbodden opened this issue 2 years ago • 1 comments

Running the docker image on a Mac as docker run -it -p 8888:8888 graphblas/pygraphblas-notebook on notebooks/Intro-Prez.ipynb I see:

GraphBLAS-py-01

and in notebooks/Introduction-to-GraphBLAS-with-Python.ipynb I see:

GraphBLAS-py-02

bsbodden avatar Nov 09 '21 04:11 bsbodden

FYI, if I change the code to use the underlying draw_graph function:

A = Matrix.from_lists(
    [0, 0, 1, 3, 3, 3, 5, 4, 1, 5],
    [1, 3, 2, 1, 4, 5, 0, 2, 5, 4], 
    [3, 8, 5, 9, 1, 6, 3, 6, 9, 8])

#draw(A)  # talk about from_binary, from_mm, from_tsv, from_arrays, from_scipy_sparse
ioff = A.nrows
joff = A.ncols
draw_graph(A, name="A", ioff=ioff, joff=joff)

The graph nodes display just fine.

bsbodden avatar Nov 09 '21 13:11 bsbodden