Unable to use draw_graph() function in the newest version
Several other users and I seem to have a problem calling draw_graph()
function. I checked the source code in the package I download, I can still find the draw function in the draw folder, but for some reason I cannot call it. Also, I checked the directory for graph-tool.all
, draw_graph()
is still there but I can't call it. Other function such as ``GraphView()` still work
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-71-10845bedb5d0> in <module>()
----> 1 from graph_tool.draw import graph_draw
2 import graph_tool as gt
3 from graph_tool.draw import sfdp_layout,graph_draw
ImportError: cannot import name 'graph_draw' from 'graph_tool.draw' (/Users/innovatio/anaconda3/envs/jiajia-capstone/lib/python3.7/site-packages/graph_tool/draw/__init__.py)