Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Incorrect argument in raise #4

Open
gak opened this issue May 16, 2011 · 0 comments
Open

Incorrect argument in raise #4

gak opened this issue May 16, 2011 · 0 comments
Assignees
Labels

Comments

@gak
Copy link
Owner

gak commented May 16, 2011

By Daniel Romaniuk on https://groups.google.com/d/topic/pygooglechart/SHVd8jKkSUI/discussion

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.

@ghost ghost assigned gak Sep 26, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant