Ticket #5 (closed defect: fixed)
Regression: "missing" values not supported by scaling
| Reported by: | athomas | Owned by: | |
|---|---|---|---|
| Priority: | major | Version: | 0.2.0 |
| Keywords: | Cc: |
Description
The following code triggers a traceback due to the None being passed to the scaling functions. Attached patch is a possible solution.
>>> from pygooglechart import * >>> c = SimpleLineChart(200, 100) >>> c.add_data([1, 2, 3, 4, 5, None, 7, 8, 9]) 0 >>> c.download('foo.png')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.