back

by apwheele·2y ago·view on hn ↗
IMO the font size is still too small (ditto for pretty much all stat software). But matplotlib makes it quite easy to change the default look, here is mine:

    import matplotlib
    
    theme = {'axes.grid': True,
             'grid.linestyle': '--',
             'legend.framealpha': 1,
             'legend.facecolor': 'white',
             'legend.shadow': True,
             'legend.fontsize': 14,
             'legend.title_fontsize': 16,
             'xtick.labelsize': 14,
             'ytick.labelsize': 14,
             'axes.labelsize': 16,
             'axes.titlesize': 20,
             'figure.dpi': 100}
    
    matplotlib.rcParams.update(theme)