Two minor errors

11 views
Skip to first unread message

Daniel Romaniuk

unread,
May 10, 2011, 12:28:18 AM5/10/11
to Python Google Chart
I noticed what appear to be two small errors in the script. In the
following two functions:

def set_axis_positions(self, axis_index, positions):
..................
raise InvalidParametersException('Axis index %i has not
been ' \
'created' % axis)

def set_axis_style(self, axis_index, colour, font_size=None, \
alignment=None):
...................
raise InvalidParametersException('Axis index %i has not
been ' \
'created' % axis)

I think you mean
% axis_index)
instead of
% axis)
as `axis` is not defined at that point in the program.

Kind Regards,
Daniel Romaniuk

Gerald Kaszuba

unread,
May 16, 2011, 3:48:45 AM5/16/11
to pygoog...@googlegroups.com
Hi Daniel,

On 10 May 2011 14:28, Daniel Romaniuk <daniel....@gmail.com> wrote:
I noticed what appear to be two small errors in the script.  In the
following two functions:

   def set_axis_positions(self, axis_index, positions):
 
Thanks for the bug report. I've added it to the github issues and will fix it when I have spare time. The issue is at: https://github.com/gak/pygooglechart/issues/4

Reply all
Reply to author
Forward
0 new messages