✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

How to cache contour plots

I would like to generate contour plots over a range of input values before they are needed. Is it possible to store a plot to be shown at a later time without recomputing the contours?

Anyone able to share the state of caching a contour plot? I would like to perform all calculations associated with a set of contour plots ahead of time, so I can hide or show a desired plot without having to perform the contour calculations again.