Note
Go to the end to download the full example code.
12.3.10.10.5. Timerseries#
<Axes: xlabel='timepoint', ylabel='signal'>
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)
Total running time of the script: (0 minutes 0.906 seconds)