Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygraphblas.gviz.draw does not draw most nodes #101

Open
bsbodden opened this issue Nov 9, 2021 · 1 comment
Open

pygraphblas.gviz.draw does not draw most nodes #101

bsbodden opened this issue Nov 9, 2021 · 1 comment

Comments

@bsbodden
Copy link

bsbodden commented Nov 9, 2021

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
Copy link
Author

bsbodden commented Nov 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant