import seaborn as sns sns.set(font="WenQuanYi Zen Hei") def create_lineplot(dataset, x, y): sns.lineplot(x=x, y=y, data=dataset)