Fix Python3 issue with unused charts.

Issue #200.