#Loading Libraries
import seaborn as sns
import matplotlib.pyplot as plt

# Load data
fmri = sns.load_dataset("fmri")

# Create line plot with custom line style
sns.lineplot(x="timepoint", y="signal", hue="region",
    style="event", markers=True, dashes=False, data=fmri)

# Show plot
plt.show()