Hi,

I'm trying to plot a graph in an interactive window using the graph_draw
command with no output, and I get an error that says "interactive_window is
not defined".  The same thing happens when I run from a notebook with the
kwarg inline=False.

I assume that this is an installation issue?  I installed on a Mac via
Homebrew, roughly following the recommended tutorial, and I'm pretty sure I
have all the listed dependencies – boost, boost-python, cairo, cairomm,
py2cairo, graphviz and many others are all installed via Homebrew.  

This problem is independent of MatPlotLib; in any case the backend is set to
MacOSX in my matplotlibrc file.  

Please can you help me narrow it down?  

The error trace is below.  

Thanks!

Charlie

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-18-450166b22c69> in <module>()
----> 1 gt.graph_draw(g) #, inline=False)

/usr/local/lib/python2.7/site-packages/graph_tool/draw/cairo_draw.pyc in
graph_draw(g, pos, vprops, eprops, vorder, eorder, nodesfirst, output_size,
fit_view, inline, output, fmt, **kwargs)
    875                 eprops[p] = _convert(edge_attrs.__dict__[p], val,
    876                                      kwargs.get("ecmap",
default_cm))
--> 877         return interactive_window(g, pos, vprops, eprops, vorder,
eorder,
    878                                   nodesfirst, **kwargs)
    879     else:

NameError: global name 'interactive_window' is not defined



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/interactive-window-not-defined-tp4025857.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to