plots.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:nmmn 作者: rsnemmen 项目源码 文件源码
def ipyplots():
    """
Makes sure we have exactly the same matplotlib settings as in the IPython terminal 
version. Call this from IPython notebook.

`Source <http://stackoverflow.com/questions/16905028/why-is-matplotlib-plot-produced-from-ipython-notebook-slightly-different-from-te)>`_.
    """
    pylab.rcParams['figure.figsize']=(8.0,6.0)    #(6.0,4.0)
    pylab.rcParams['font.size']=12                #10 
    pylab.rcParams['savefig.dpi']=100             #72 
    pylab.rcParams['figure.subplot.bottom']=.1    #.125
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号