📜  sns 时间序列图 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:53.576000             🧑  作者: Mango

代码示例1
import seaborn as sns
sns.set_theme(style="darkgrid")

# Load an example dataset with long-form data
fmri = sns.load_dataset("fmri")

# Plot the responses for different events and regions
sns.lineplot(x="timepoint", y="signal",
             hue="region", style="event",
             data=fmri)