How to change figuresize using seaborn factorplot

前端 未结 7 1561
长情又很酷
长情又很酷 2020-11-27 14:19
%pylab inline

import pandas as pd
import numpy as np
import matplotlib as mpl
import seaborn as sns

typessns = pd.DataFrame.from_csv(\'C:/data/testesns.csv\', inde         


        
7条回答
  •  渐次进展
    2020-11-27 14:55

    If you just want to scale the figure use the below code:

    import matplotlib.pyplot as plt
    plt.figure(figsize=(8, 6))
    sns.factorplot("MONTH", "VALUE", hue="REGION", data=typessns, kind="box", palette="OrRd"); // OR any plot code
    

提交回复
热议问题