Thanks you! That solved the problem. BTW, I never use "from graph_tool.all import *", instead I use "import graph_tool.all as gt", which also caused the above problem.
Can the draw module in graph_tool plot 3d graph and simply interactively view it ? I can only find 2d examples in the doc. That's why I turned to mayavi 2015-04-20 1:56 GMT+08:00 Tiago de Paula Peixoto <[email protected]>: > On 19.04.2015 20:39, Johann Goetz wrote: > > This warning indicates you are mixing gtk2 and gtk3. > > This is correct. You cannot mix gtk2 and gtk3 in the same program. > > If you don't need to use the drawing routines of graph-tool, you can > avoid importing gtk3 by not importing anything from the graph_tool.draw > module. > > Simply avoid doing "from graph_tool.all import *" and import only the > submodules you need. > > Best, > Tiago > > > -- > Tiago de Paula Peixoto <[email protected]> > > > _______________________________________________ > graph-tool mailing list > [email protected] > http://lists.skewed.de/mailman/listinfo/graph-tool > > -- Cheers, Bo Wu
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
