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

Incorrect argument in raise #4

@gak

Description

@gak

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions