I want to use the Despine function In the seaborn 0.13 version, I want to remove the line of the upper right coordinate axis, how should I change,THANK YOU!
import seaborn.objects as so
import seaborn as sns
from seaborn import axes_style,plotting_context
from seaborn import despine
so.Plot.config.theme.update(axes_style("ticks")|plotting_context('paper'))
data = sns.load_dataset('penguins')
sns.despine()
((so.Plot(data, x="bill_length_mm", y="bill_depth_mm").layout(size=(3, 3))
.add(so.Dot(), color="species").label(x="a", y="b",title="c")
.add(so.Line(color="black"),so.PolyFit(), y="bill_depth_mm", label="depth"))
.save(r'E:\下载\1.svg'))

I want to use the Despine function In the seaborn 0.13 version, I want to remove the line of the upper right coordinate axis, how should I change,THANK YOU!
import seaborn.objects as so
import seaborn as sns
from seaborn import axes_style,plotting_context
from seaborn import despine
so.Plot.config.theme.update(axes_style("ticks")|plotting_context('paper'))
data = sns.load_dataset('penguins')
sns.despine()
((so.Plot(data, x="bill_length_mm", y="bill_depth_mm").layout(size=(3, 3))
.add(so.Dot(), color="species").label(x="a", y="b",title="c")
.add(so.Line(color="black"),so.PolyFit(), y="bill_depth_mm", label="depth"))
.save(r'E:\下载\1.svg'))