Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plots created in inner function #2

Open
soramimo opened this issue Oct 19, 2010 · 1 comment
Open

plots created in inner function #2

soramimo opened this issue Oct 19, 2010 · 1 comment

Comments

@soramimo
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant