set_plot_params.py 文件源码

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

项目:matplotlib_pubplots 作者: yoachim 项目源码 文件源码
def mpl_thumbnails(usetex=False):
    """
    Make png thumbnails
    """
    plt.rcdefaults()
    plt.rc('font', family='serif')
    plt.rc('xtick', labelsize='x-small')
    plt.rc('ytick', labelsize='x-small')
    plt.rc('text', usetex=usetex)
    plt.rc('savefig', format='pdf', bbox='tight')
    plt.rc('savefig', format='png', bbox='tight')
    plt.rc('figure', figsize=(4,3))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号