seaborn.objects common labels is not working instead it gives separate label to each plots

90 views Asked by At

Hi I am trying to give title to this plot. Instead of having a common label, the labels are shared among the plots. Is there any way to not switching from seaborn object. this is the plot

(
    so.Plot(df,x="sepal_length",y="sepal_width")
    .add(so.Dot(alpha = .5,pointsize=1),col = None)
    .add(so.Dot(alpha=.5,pointsize=3,color='darkblue'),legend=False)
    .add(so.Line(color="r"),so.PolyFit(1))
    .facet("species",wrap=2)
    .share(x=True,y=True)
    .label(title="Scatter Plot between Sepal \nLength and Sepal Width")
)

I tried .share(label=True) but it does not work.

0

There are 0 answers