pyreport icon indicating copy to clipboard operation
pyreport copied to clipboard

plots created in inner function

Open soramimo opened this issue 15 years ago • 1 comments

Hi Gael,

this seems like an insanely useful tool for the scipy community, so many thanks for publishing this. I've started to use it for some of my experiments and I have noticed that it does not seem to be possible to include plots in the report that were created in inner functions. Is this possible somehow, or can pyreport be extended to do this?

Thanks, Chris

soramimo avatar Oct 19 '10 12:10 soramimo

Problem solved.

I was previously using: import matplotlib.pyplot as plt plt.plot(x,y)

replacing it with: import pylab pylab.plot(x,y)

did the trick.

soramimo avatar Oct 19 '10 12:10 soramimo