seaborn入门(6)PairGrid
newsun-boki Lv3

seaborn入门(6)PairGrid

PairGrid

代码和图

1
2
3
4
5
6
7
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
iris = sns.load_dataset(name='iris',cache=True,data_home="./seaborn-data")
iris_g = sns.PairGrid(iris,hue = "species")
iris_g.map(plt.scatter)

在这里插入图片描述

累了,溜了

  • Post title:seaborn入门(6)PairGrid
  • Post author:newsun-boki
  • Create time:2021-11-02 01:27:36
  • Post link:https://github.com/newsun-boki2021/11/02/seaborn6/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.