Closed thistlillo closed 6 months ago
I think there should be nothing wrong if you leave the dependency management to the package manager.
If you check the dependency specification for plotnine-0.12.3, you will notice that it requires mizani<0.10.0!
Only the development version of plotnine needs (and can use) mizani 0.10.0.
But then I get that error about the missing attribute.
Il sab 28 ott 2023, 12:48 Hassan Kibirige @.***> ha scritto:
I think there should be nothing wrong if you leave the dependency management to the package manager.
If you check the dependency specification for plotnine-0.12.3, you will notice that it requires mizani<0.10.0!
Only the development version of plotnine needs (and can use) mizani 0.10.0.
— Reply to this email directly, view it on GitHub https://github.com/has2k1/mizani/issues/36#issuecomment-1783776247, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTIBV3XTDV4PBH3SEXGEIDYBTPJVAVCNFSM6AAAAAA6T2RIMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTG43TMMRUG4 . You are receiving this because you authored the thread.Message ID: @.***>
You should not have mizani-0.10.0 and plotnine-0.12.* in the same environment. That is why you get the attribute error. mizani.
You can only use symlog_trans
with the development version of plotnine.
I cannot get plotnine to work with mizani, there are some issues with the management of dependencies.
conda is up-to-date with the latest version.
With the messy system used by conda for the updates, I was not able to have both plotnine and mizani at their latest minor version, that should be 0.12.3 for plotnine. When I update plotnine to 0.12.3, I find mizani at a 0.9 version.
When I try to use the
trans=symlog_trans()
in+ p9.scale_y_continuous(trans=symlog_trans(), labels=lambda l: [str(int(x)) for x in l])
:I get:
However, when I prepared a MWE:
I got the output with no errors.
This happens using the same environment. Clearly, the two dataframes are different, but I cannot share the one leading to the error.
Then...
I uninstalled both plotnine and mizani, then resinstalled plotnine, but got these versions:
i.e., the current version of plotnine and the old mizani:
What am I supposed to do in order to use mizani 0.10?