Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sns time series plot

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)
Source by seaborn.pydata.org #
 
PREVIOUS NEXT
Tagged: #sns #time #series #plot
ADD COMMENT
Topic
Name
6+4 =