changing default fonts in matploitlibrc file

Solutions on MaxInterview for changing default fonts in matploitlibrc file by the best coders in the world

showing results for - "changing default fonts in matploitlibrc file"
Erik
24 Aug 2017
1''' The basic format of the file is in the form of "option : value". For example, to keep the
2legend always on the right, we put:
3legend.loc : right'''
4
5''' to change the default fonts to Arial,
6 search the file for fonts,then at that 
7location, just add the following lines without # or ##'''.
8
9font.family         : sans-serif
10font.sans-serif     : Arial
11