You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve bipartite documentation (migrated from Trac #699) #686
There have been some questions at the mailing list about how to work with bipartite networks using NetworkX (1,2). The patch attached:
Expands main bipartite module documentation addressing the doubts raised in the mailing list. Among other things, it clearly states the convention of using the node attribute "bipartite" to identify the two node sets, and shows with examples how to get the two containers with each node set.
Shortens the first sentence of bipartite projection functions, so they fit nicely in the generated html at algorithms.bipartite.html
Comment in Trac by Aric Hagberg <aric.hagberg, 2012-02-26
In [662a845/networkx]:
'''
#!CommitTicketReference repository="networkx" revision="662a845869db49e5f8986ceca86252e2668108dc"
Switch to lists from sets in doctests because Python2 and Python3 report them differently (set([1,2,3]) vs {1,2,3})
Addresses #699
'''
If it is ok, I'll leave the ticket open for some days to see if someone has any comment on bipartite documentation, in general, and/or about the patch, in particular.
Activity
networkx-trac commentedon Jul 20, 2012
Attachment in Trac by @jtorrents, 2012-02-26: bipartite_doc.patch
networkx-trac commentedon Jul 20, 2012
Comment in Trac by Aric Hagberg <aric.hagberg, 2012-02-26
In [6b88095/networkx]:
'''
#!CommitTicketReference repository="networkx" revision="6b8809500f22b907d53f536bc4409a10e6f3f761"
Add bipartite doc patch. Addresses #699
'''
networkx-trac commentedon Jul 20, 2012
Comment in Trac by Aric Hagberg <aric.hagberg, 2012-02-26
In [662a845/networkx]:
'''
#!CommitTicketReference repository="networkx" revision="662a845869db49e5f8986ceca86252e2668108dc"
Switch to lists from sets in doctests because Python2 and Python3 report them differently (set([1,2,3]) vs {1,2,3})
Addresses #699
'''
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2012-02-26
I added the patch. To pass doctests with Python3 I need to switch from sets.
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @jtorrents, 2012-02-27
Thanks Aric.
If it is ok, I'll leave the ticket open for some days to see if someone has any comment on bipartite documentation, in general, and/or about the patch, in particular.
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @jtorrents, 2012-03-06