-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
pw can't display plotnine and breaks plotnine.ggplot as a side-effect #56
Comments
Solved by install an older version of pip install git+https://github.com/has2k1/[email protected] |
Apologies for the inconvenience. However, I am unable to continue supporting plotnine in patchworklib due to limited capacity in my labour. I believe patchworklib remains a valuable library even if it only supports matplotlib and seaborn. If there are many requests like yours, I will consider addressing this issue, but please do not have large expectations.. |
No worries at all, thanks for taling a look at it anyway!
…On Mon 13. May 2024 at 08:39, Hideto Mori ***@***.***> wrote:
Apologies for the inconvenience. However, I am unable to continue
supporting plotnine in patchworklib due to limited capacity in my labour. I
believe patchworklib remains a valuable library even if it only supports
matplotlib and seaborn.
If there are many requests like yours, I will consider addressing this
issue, but please do not have large expectations..
I'm terribly sorry about this thing...
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIFQIMPAPG3SQKS7QGUNJODZCDNBXAVCNFSM6AAAAABD3IAIIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYGA2DIMBTGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Patchworklib tentatively supports the newest version of plotnine. However, it likely still contains many bugs and may produce unexpected results. If you find anything, please let me know. |
In the issue that I'm encountering, two things go wrong:
pw.load_ggplot()
called on a ggplot object produces the following:AttributeError: 'ggplot' object has no attribute '_create_figure'
pw.load_ggplot()
.So it seems that the problem is a side-effect of the function
pw.load_ggplot
.Code blocks to reproduce problem
This displays the plot as expected.
No problems at import.
This gives the aforementioned attribute error, with the following traceback:
After this,
plotnine.ggplot
objects start producing the same error. E.g., the following cell produces the same errorNew
ggplot
objects suffer the same fate, eg.:-->
[...] AttributeError: 'ggplot' object has no attribute '_create_figure'
This was tested on a jupyterhub server. The problem only goes away if I restart the jupyterhub kernel.
The text was updated successfully, but these errors were encountered: