Fonts demo (object-oriented style)
Set font properties using setters.
See Fonts demo (keyword arguments) to achieve the same effect using keyword arguments.

import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
Set font properties using setters.
See Fonts demo (keyword arguments) to achieve the same effect using keyword arguments.

import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties