Error creating charts

14 views
Skip to first unread message

Kevin Lewandowski

unread,
Apr 22, 2008, 1:42:51 PM4/22/08
to GChartWrapper
Hi, this module looks great. But I've installed it and get the
following error any time I try to get an url (either with "str(G)" or
"print G").

>>> G
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "GChartWrapper/__init__.py", line 251, in __repr__
def __repr__(self): self.__str__()
File "GChartWrapper/__init__.py", line 256, in __str__
self.render()
File "GChartWrapper/__init__.py", line 177, in render
self.data.update(**self.axes.render())
TypeError: update() takes no keyword arguments

I'm running python 2.3.4.

thanks,
Kevin

justquick

unread,
Apr 23, 2008, 1:52:07 PM4/23/08
to GChartWrapper
Kevin,

You are right, after compiling and testing on py2.3 i found that
kwargs are unnecessary. The correct version is now in the SVN.

Justin
Reply all
Reply to author
Forward
0 new messages