mpl.tight_layout.FontProperties.set_fontconfig_pattern

FontProperties.set_fontconfig_pattern(pattern)[source]

Set the properties by parsing a fontconfig pattern.

See the documentation on fontconfig patterns.

This support does not require fontconfig to be installed or support for it to be enabled. We are merely borrowing its pattern syntax for use here.