Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
69536f1b
Commit
69536f1b
authored
Apr 02, 2016
by
Tiago Peixoto
Browse files
Fix docstring test
parent
47843ad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/generation/__init__.py
View file @
69536f1b
...
...
@@ -1695,7 +1695,7 @@ def condensation_graph(g, prop, vweight=None, eweight=None, avprops=None,
>>> # fit a SBM with 5 groups
>>> state = gt.BlockState(g, B=5, deg_corr=True)
>>> gt.mcmc_equilibrate(state, wait=1000)
<
...
>
(
...
)
>>> b = state.get_blocks()
>>> gt.graph_draw(g, pos=g.vp["pos"], vertex_fill_color=b, vertex_shape=b,
... output="polbooks_blocks_B5.pdf")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment