Closed TobiRoby closed 2 years ago
I could not replicate this failure!
Thx for the feedback.
Feels like a wierd error to me.
I have the pyproject.toml
reproducing the error 100% of the time on my system/dockerfile.
But it looks like it is also depending on my environment especially the dependency manager (poetry
).
[tool.poetry]
name = "plotnine-failure"
version = "0.1.0"
description = ""
authors = ["xxx"]
[tool.poetry.dependencies]
python = "~3.9.10"
pytest = "6.2.5"
pandas = "1.4.0"
plotnine = "0.8.0"
numpy = "1.22.2"
[tool.poetry.dev-dependencies]
flake8 = "4.0.1"
mypy = "0.812"
pre-commit = "2.16.0"
pydocstyle = "6.1.1"
black = "21.12b0"
isort = "5.10.1"
notebook = "^6.4.6"
rope = "^0.22.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
The strangest part: I somehow got it working. I downgraded plotnine, pandas & numpy until the point of that numpy binaries were compiled on install. (<1.18.0 if I remember correctly)
Feel free to try and reproduce the error with poetry on your system. Otherwise, resolve this issue, since I am not sure that it relates to this project at all :)
This bug is a result of a change in API of matplotlib >= 3.5.0.
Same issue as: #567
thanks for the follow up. will the fix be part of an upcoming release?
thanks for the follow up. will the fix be part of an upcoming release?
Yes.
Hey,
I tested a dummy example for the
geom_density_2d()
function and for me it is not working. Here it is working for some others.The error I receive:
going along with an interesting
numpy
warning:Used python packages: