Skip to content
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

Warnings when using Pandas 1.4 #560

Closed
drhagen opened this issue Feb 3, 2022 · 1 comment
Closed

Warnings when using Pandas 1.4 #560

drhagen opened this issue Feb 3, 2022 · 1 comment

Comments

@drhagen
Copy link

drhagen commented Feb 3, 2022

In Pandas 1.4.0, the .append method of data frames and series was deprecated. This causes warnings to appear in Jupyter when using lots of plotnine functions which use .append. For example, the fourth example from the README:

from plotnine import *
from plotnine.data import mtcars

(ggplot(mtcars, aes('wt', 'mpg', color='factor(gear)'))
 + geom_point()
 + stat_smooth(method='lm')
 + facet_wrap('~gear'))

Screenshot from 2022-02-03 11-18-13

@has2k1
Copy link
Owner

has2k1 commented Mar 28, 2022

Resolved in e9cc70d.

@has2k1 has2k1 closed this as completed Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants