chbh bug (automatique bar size)

1 view
Skip to first unread message

Sylvain

unread,
Mar 11, 2009, 12:50:29 PM3/11/09
to Python Google Chart
def get_url_bits(self, data_class=None):
....
elif self.bar_width:
url_bits.append('chbh=%i' % self.bar_width)

must be replaced with (%i -> %s)

def get_url_bits(self, data_class=None):
....
elif self.bar_width:
url_bits.append('chbh=%s' % self.bar_width)

because 'a' is a valide size
Reply all
Reply to author
Forward
0 new messages