Commit c8f99e7c authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix import error when pycairo or Gtk+ are not available

parent e0edd448
......@@ -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"]
def random_layout(g, shape=None, pos=None, dim=2):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment