We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following minimal example
import pandas as pd import plotnine import patsy df = pd.DataFrame(patsy.demo_data("a",'b','x','y', 'z')) p = plotnine.ggplot(df) p += plotnine.geom_bar(plotnine.aes('a','y'), stat='stat_summary') p += plotnine.facet_wrap('b') p.save("test.png")
causes repeated
ValueError Traceback (most recent call last) ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long' Exception ignored in: 'pandas._libs.lib.is_bool_array' ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long'
messages (one per facet/bar combination?) But does produce the requested file.
Seems to occur in line 221 of stat_summary.py: merged = summary.merge(unique, on=['group', 'x'])
merged = summary.merge(unique, on=['group', 'x'])
The text was updated successfully, but these errors were encountered:
Apperantly it's a pandas bug that disappears when upgrading to 0.23.4 from 0.22 Possibly pandas-dev/pandas#17187
Sorry, something went wrong.
No branches or pull requests
The following minimal example
causes repeated
messages (one per facet/bar combination?)
But does produce the requested file.
Seems to occur in line 221 of stat_summary.py:
merged = summary.merge(unique, on=['group', 'x'])
The text was updated successfully, but these errors were encountered: