Closed chickenandpork closed 5 years ago
Hi! In a non-interactive environment you can use the Axes
object returned by the venn()
function:
ax = venn(musicians)
ax.figure.savefig("musicians.png", bbox_inches="tight")
When run inside the notebook, jupyter just recognizes that an Axes object has been returned and displays it.
Can you create or describe an example that produces an image file? I'd like to leverage your work to quickly produce diagrams, but I'm not a matplot user, and I don't see where any file is written out.
For context, I tried:
The file runs once the
%matplotlib inline
is removed, but the result doesn't export the generated object as an image. Perhaps it's trying to manipulate a running matplot process?