I have been trying to use plotnine module to build a data info graph through Anaconda Code in Excel (desktop), but it doesn’t render in Excel. It just stays as a memory object (plotnine.ggplot) like this.
The repr_xl_value decorator will register plotnine.ggplot objects so the returned object is always run through this function before being sent to Excel.
Thank you so much for your response. I can confirm the .draw() function solved the problem. I was trying something like x.draw() and then use plt.show() for it and it didn’t work. I didn’t think of stopping at x.draw().
I really look forward to the day when plotnine is also supported in Anaconda Code, given that it is a elegant implantation of the powerful ggplot2 in R world.
I want to sincerely thank you and Anaconda Code/Toolbox team for your good work in bringing Python and R to Excel! I have been an avid user and it really is greatly promising. Keep up with the good work.