Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

plot --> Linux #176

Closed
nsabic opened this issue Apr 22, 2015 · 3 comments
Closed

plot --> Linux #176

nsabic opened this issue Apr 22, 2015 · 3 comments

Comments

@nsabic
Copy link

nsabic commented Apr 22, 2015

Hi, does anyone know why this happens when I want to plot a directed graph?
I'm using IJulia notebook (Python3) on Ubuntu 14.10. and I have already installed graphviz...

to_dot has no method matching to_dot(::GenericGraph{Int32,Edge{Int32},UnitRange{Int32},Array{Edge{Int32},1},Array{Array{Edge{Int32},1},1}}, ::Pipe)
while loading In[23], in expression starting on line 1

in plot at /home/nives/.julia/v0.3/Graphs/src/dot.jl:86

@jagrafft
Copy link

I am getting the same error on a Windows 8 system in Julia REPL and IJulia.

Once I switched the neato -T flag (Issue 172) I immediately received

`to_dot` has no method matching to_dot(::GenericGraph{Int64,Edge{Int64},UnitRange{Int64},Array{Edge{Int64},1},Array{Array{Edge{Int64},1},1}}, ::Pipe)
while loading In[4], in expression starting on line 1

 in plot at C:\Users\[user]\.julia\v0.3\Graphs\src\dot.jl:87

Currently line 87 in dots.jl is set to

stdin, proc = open(`neato -Tpng`, "w")

which should not be a problem on my system.

@nsabic
Copy link
Author

nsabic commented Jun 7, 2015

Change line 88 in dot.jl like this:
to_dot(g, stdin, AttributeDict())
It should be fixed after that :)

@jagrafft
Copy link

jagrafft commented Jun 9, 2015

I bet!

</
jgrafft@gmail.com
/>

On Jun 7, 2015, at 12:17, nsabic notifications@github.com wrote:

Change line 88 in dot.jl like this:
to_dot(g, stdin, AttributeDict())
It should be fixed after that :)


Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants