[graph-tool] Gtk-ERROR while plotting a matrix
Tiago de Paula Peixoto
tiago at skewed.de
Sat Feb 11 20:15:52 CET 2017
On 11.02.2017 15:06, Snehal Shekatkar wrote:
> 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()
> 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?
GTK 2 and 3 cannot be used in the same program. GTK 3 is used by graph-tool,
and it seems you are using a matplotlib backend that pulls in GTK 2. You
need to use another backend, e.g. GTK3Cairo.
Tiago de Paula Peixoto <tiago at skewed.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the graph-tool