How to make inline plots in Jupyter Notebook larger?

后端 未结 9 1583
慢半拍i
慢半拍i 2020-12-12 08:38

I have made my plots inline on my Ipython Notebook with \"%matplotlib inline.\"

Now, the plot appears. However, it is very small. Is there a way to ma

9条回答
  •  温柔的废话
    2020-12-12 08:55

    To adjust the size of one figure:

    import matplotlib.pyplot as plt
    
    fig=plt.figure(figsize=(15, 15))
    

    To change the default settings, and therefore all your plots:

    import matplotlib.pyplot as plt
    
    plt.rcParams['figure.figsize'] = [15, 15]
    
    

提交回复
热议问题