Skip to content

How to convert plotnine object to matplotlib object? #755

Answered by has2k1
ericjb asked this question in Q&A
Discussion options

You must be logged in to vote

ggplot().draw() returns a Matplotlib figure. From the figure, you can get the axes. The figure has a custom layout manager that can handle the artists plotnine adds to it. So should not be changed.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by has2k1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants