Python matplotlib中的Seaborn点图行为
大家好,我正在关注一个使用seaborn的kaggle titanic教程,并尝试使用matplotlib进行相同的绘图Python matplotlib中的Seaborn点图行为,python,matplotlib,seaborn,Python,Matplotlib,Seaborn,大家好,我正在关注一个使用seaborn的kaggle titanic教程,并尝试使用matplotlib进行相同的绘图 grid = sns.FacetGrid(train_df, row='Embarked', size=2.2, aspect=1.6) grid.map(sns.pointplot, 'Pclass', 'Survived', 'Sex', palette='deep') grid.add_legend() 我想为它使用matplotlib函数。我
grid = sns.FacetGrid(train_df, row='Embarked', size=2.2, aspect=1.6)
grid.map(sns.pointplot, 'Pclass', 'Survived', 'Sex', palette='deep')
grid.add_legend()
我想为它使用matplotlib函数。我尝试使用df.plot,但似乎无法决定要在x&y中包括哪些以及如何获取子绘图以显示matplotlib代码。您的问题是什么?显示matplotlib代码。您的问题是什么?