I wanted to use seaborn but the mere lines
data = sns.load_dataset("iris")
# draw lineplot
sns.lineplot(x="sepal_length", y="sepal_width", data=data)
plt.show()
do not show anything.
I tried to use plt.ion()
,
f = sns.lineplot(x="sepal_length", y="sepal_width", data=data)
f.figure
But these do not work either. I have nothing shown in the terminal.
I also tried matplotlib.use('Agg')
.
I am currently on Ubuntu, using matplotlib 3.5.2
and seaborn 0.11.2
and I tried using python 3.10, matplotlib 3.5.1
and seaborn 0.11.1
and no combination works.
Does anyone have an idea of what could be the problem ?