Search
 
SCRIPT & CODE EXAMPLE
 

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"
Comment

PREVIOUS NEXT
Code Example
Python :: dataframe select entries that are in a list 
Python :: tkinter max size 
Python :: matplotlib show imaginary numbers 
Python :: name unnamed column pandas 
Python :: how to ask for input in python 
Python :: openpyxl read excel 
Python :: import matplotlib.pyplot as plt 
Python :: python requests wait for page to load 
Python :: how to remove coma in python 
Python :: how to append to every second item in list python 
Python :: set os environment variable python 
Python :: python datetime now minus 3 hours 
Python :: python system arguments 
Python :: python sort list by last element 
Python :: special characters list in python 
Python :: get list input from user in python 
Python :: python csv write add new line 
Python :: python convert file into list 
Python :: django refresh form db 
Python :: Progress indicator during pandas operations 
Python :: AssertionError: Relational field must provide a `queryset` argument, override `get_queryset`, or set read_only=`True` 
Python :: pandas find top 10 values in column 
Python :: jupyter read in csv 
Python :: get highest value from dictionary python 
Python :: flask development mode 
Python :: matplotlib x axis at the top 
Python :: list all files of a directory in Python 
Python :: send email python 
Python :: python module for converting miles to km 
Python :: python tkinter clear textbox 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =