Hey cool project! I think you might benefit from migrating to jupysql and leveraging the [plotting API](https://jupysql.ploomber.io/en/latest/plot.html). Happy to answer any questions you have!