It's getting long at more than 1000 lines. Probably split it up into at least a few files e.g. - Chart class - Basic charts - Pandas plotting