[graph-tool] Gtk-ERROR while plotting a matrix

Snehal Shekatkar snehalshekatkar at gmail.com
Sat Feb 11 16:06:09 CET 2017


Hello all,

I am trying to plot the matrix representation of inferred blocks.

state = gt.minimize_blockmodel_dl(G, deg_corr=True)

e = state.get_matrix()

plt.matshow(e.todense())

However, this throws an error:

(ipython:14458): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x
and GTK+ 3 in the same process is not supported
Trace/breakpoint trap (core dumped)

I am not sure what is happening. Any help?

Thank you
Snehal


-- 




Snehal Madhukar Shekatkar
Pune
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20170211/6fc54a2b/attachment.htm>


More information about the graph-tool mailing list