|
From: | Tamas Nepusz |
Subject: | Re: [igraph] Plotting --> AttributeError: 'bytes' object has no attribute 'encode' |
Date: | Sun, 29 Jan 2017 22:51:13 +0100 |
Hello, in python I am doingG = igraph.Graph.Full(10)igraph.plot(G, bbox = (400,400), layout = G.layout('kk'))and I getÂAttributeError Traceback (most recent call last) /usr/local/lib/python3.6/site-packages/IPython/core/ in __call__(self, obj) 309 method = get_real_method(obj, self.print_method) 310 if method is not None: --> 311 return method() 312 return None 313 else: /usr/local/lib/python3.6/site-formatters.py packages/igraph/drawing/__ in _repr_svg_(self) 352 surface.finish() 353 # Return the raw SVG representation --> 354 return io.getvalue().encode("utf-8") 355 356 @property AttributeError: 'bytes' object has no attribute 'encode'init__.py
I cannot find a match for this in google or stackoverflow. Since I have never used plots of iGraph before in Python I thought was best to ask.Thanks for helping,Roberto
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |