refactor python plots, update base