Closed graingerkid closed 2 years ago
Hi @graingerkid ,
It's possible to use the option ci.plot(show=False)
which keeps the matplotlib figure and axes still available. Then you can retrieve the image by running plt.gcf()
. I've created this colab notebook showing how to do so.
Once you have access to the figure
object then I suppose you can use the answer in this SO thread to return the image as desired.
Hopefully this helps or gives you some ideas on how to proceed.
Ah - that works perfectly. Thanks for taking the time. Appreciate your help and your work
I'd like to use this lib as part of a Flask application but stuggling to pass it to the front end. Any suggestions?