尽管我得到了正确的图表(是的!),但每次运行 ggplot 时也会收到此警告:
FutureWarning: Attribute 'is_copy' is deprecated and will be removed in a future version.return object.__setattr__(self, name, value)
我使用 Python 3.6 并且:
from plotnine import * #Vers. 0.3.0
import pandas as pd #Vers. 0.23.1
from pandas import DataFrame
ggplot 代码是:
g = ggplot(df, aes(x='date', y='meanDN')) + geom_point()
print(g)
我应该担心吗?