Hello,
I am not sure what is causing the following error message and I have been stuck for hours now please help.
For some reason, gplot is not working.
My code:
import Cairo,Fontconfig
using Random, Graphs, GraphPlot, DelimitedFiles, DataFrames, MetaGraphs
Random.seed!(3033);
data = readdlm("PrPm/Pacific Gas and Electric Power Distribution Network Adjacency matrix.csv", ',', Int, header= false );
df = DataFrame(data, :auto);
Adj_pwr_ntwrk = Matrix(df); #Adjacency matrix of the power Network
Pwr_ntwk= Graph(Adj_pwr_ntwrk)
gplot(Pwr_ntwk)
The error message:
ERROR: LoadError: MethodError: no method matching spring_layout(::SimpleGraph{Int64})
The frustrating thing si, I have been able to plot graphs all day until this error message randomly started showing