[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2010-05-17T22:39:41+01:00 https://forum-gephi.org/app.php/feed/topic/231 2010-05-17T22:39:41+01:002010-05-17T22:39:41+01:00 https://forum-gephi.org/viewtopic.php?t=231&p=780#p780 <![CDATA[Re: Python bindings & VIZ module]]>
admin wrote:Which versions of libgexf and Python do you use?
Python 2.6 and libgexf 0.1.2 from source.
admin wrote:In Python there is always the "self" argument ...
I see. Did not expect that, but I have no experience with SWIG...

Statistics:Posted by mhermans — 17 May 2010 22:39


]]>
2010-05-17T22:17:02+01:002010-05-17T22:17:02+01:00 https://forum-gephi.org/viewtopic.php?t=231&p=779#p779 <![CDATA[Re: Python bindings & VIZ module]]>
First, using data.setNodeValue('1', '0' '2') does not work, it expects 4 arguments. If I use a fourth blank arguments it seems to behave. How do I call this function correctly?
Which versions of libgexf and Python do you use?

In Python there is always the "self" argument taken into account. So this method has 4 arguments: data.setNodeValue(self, '1', '0', '2'). Therefore I'll check the bindings tomorrow.
Second, I can't figure out how to set the attributes in the VIZ module (e.g. size). Are these not supported?
They are not.

Statistics:Posted by admin — 17 May 2010 22:17


]]>
2010-05-17T19:34:20+01:002010-05-17T19:34:20+01:00 https://forum-gephi.org/viewtopic.php?t=231&p=776#p776 <![CDATA[Python bindings & VIZ module]]>
First, using data.setNodeValue('1', '0' '2') does not work, it expects 4 arguments. If I use a fourth blank arguments it seems to behave. How do I call this function correctly?

Second, I can't figure out how to set the attributes in the VIZ module (e.g. size). Are these not supported?

Statistics:Posted by mhermans — 17 May 2010 19:34


]]>