How to plot non-square Seaborn jointplot or JointGrid

后端 未结 3 1115
情话喂你
情话喂你 2020-12-20 13:44

I am trying to plot my non-symmetric data using Seaborn\'s JointGrid. I can get it to use an equal aspect ratio, but then I have unwanted whitespace:

How do

3条回答
  •  清酒与你
    2020-12-20 14:09

    For those who use Seaborn into a Jupyter Notebook, I suggest calling set_figwidht() and set_figheight() just after the sns.jointplot() command.

    my_plot=sns.jointplot(x="K",y="errori",data=risultati , kind="scatter")
    my_plot.fig.set_figwidth(13)
    

    Jupyter Example

提交回复
热议问题