view | Matplotlib | Seaborn |
---|---|---|
Scatter | pyplot.scatter | jointplot(x=’’,y=’’,data=,kind=‘scatter’) |
Polyline | pyplot.plot (x, y) | lineplot(x=’’,y=’’,data=) |
Histogram | pyplot.hist (x, bin =) | distplot (x, where = True) |
Bar graph | pyplot.bar(x,height) | barplot(x=’’,y=’’,data=) |
Box plot | pyplot.boxplot(x,labels=) | boxplot(data=) |
Pie chart | pyplot.pie(x,labels=) | |
Heat map | heatmap(data) | |
Spider diagram | figure+add_subplot+plot+fill | |
Binary variable distribution | jointplot(x='',y='',data=,kind=) (scatter point:'scatter', nuclear density:'kde', Hexbin:'hex') | |
Paired relationship | pairplot (data) |
Matplotlib and Seaborn visual drawing comparison
Guess you like
Origin blog.csdn.net/u010670117/article/details/89322258
Recommended
Ranking