Setting plot background colour in Seaborn

后端 未结 3 1467
深忆病人
深忆病人 2021-02-05 13:51

I am using Seaborn to plot some data in Pandas.

I am making some very large plots (factorplots).

To see them, I am using some visualisation faciliti

3条回答
  •  不思量自难忘°
    2021-02-05 14:12

    In new versions of seaborn you can also use axes_style() and set_style() to quickly set the plot style to one of the predefined styles: darkgrid, whitegrid, dark, white, ticks

    st = axes_style("whitegrid")
    
    set_style("ticks", {"xtick.major.size": 8, "ytick.major.size": 8})
    

    More info in seaborn docs

提交回复
热议问题