Is there a way to save the output of a cell?

If you are using IPython, you could try the %%capture magic to get the plot data:

https://ipython.readthedocs.io/en/stable/interactive/magics.html#cellmagic-capture

3 Likes