How to set the matplotlib figure default size in ipython notebook?

前端 未结 6 617
鱼传尺愫
鱼传尺愫 2020-11-30 18:39

I use \"$ipython notebook --pylab inline\" to start the ipython notebook. The display matplotlib figure size is too big for me, and I have to adjust it manually. How to se

6条回答
  •  一向
    一向 (楼主)
    2020-11-30 19:29

    Just for completeness, this also works

    from IPython.core.pylabtools import figsize
    figsize(14, 7)
    

    It is a wrapper aroung the rcParams solution

提交回复
热议问题