Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
c8f99e7c
Commit
c8f99e7c
authored
Apr 18, 2015
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import error when pycairo or Gtk+ are not available
parent
e0edd448
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/draw/__init__.py
src/graph_tool/draw/__init__.py
+1
-1
No files found.
src/graph_tool/draw/__init__.py
View file @
c8f99e7c
...
...
@@ -84,7 +84,7 @@ dl_import("from . import libgraph_tool_layout")
__all__
=
[
"graph_draw"
,
"graphviz_draw"
,
"fruchterman_reingold_layout"
,
"arf_layout"
,
"sfdp_layout"
,
"random_layout"
,
"radial_tree_layout"
,
"cairo_draw"
,
"prop_to_size"
,
"get_hierarchy_control_points"
,
"default_cm"
,
"draw_hierarchy"
]
"default_cm"
]
def
random_layout
(
g
,
shape
=
None
,
pos
=
None
,
dim
=
2
):
...
...
Write
Preview
Markdown
is supported
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