Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib change font

from matplotlib import rc
font = {'size'   : 16}
matplotlib.rc('font', **font)

# change font
matplotlib.rcParams['font.sans-serif'] = "Arial"
matplotlib.rcParams['font.family'] = "sans-serif"
Source by web.stanford.edu #
 
PREVIOUS NEXT
Tagged: #matplotlib #change #font
ADD COMMENT
Topic
Name
8+1 =