matplotlib.fontconfig_pattern
¶
解析和生成模块 fontconfig patterns .
-
class
matplotlib.fontconfig_pattern.
FontconfigPatternParser
[源代码]¶ 基类:
object
一个简单的基于pyparsing的解析器 fontconfig patterns .
-
parse
(pattern)[源代码]¶ 分析给定的fontconfig 模式 并返回用于初始化
font_manager.FontProperties
对象。
-
-
matplotlib.fontconfig_pattern.
family_escape
(/, repl, string, count=0)¶ 返回通过用replacement repl替换字符串中最左边的不重叠的模式来获得的字符串。
-
matplotlib.fontconfig_pattern.
family_unescape
(/, repl, string, count=0)¶ 返回通过用replacement repl替换字符串中最左边的不重叠的模式来获得的字符串。
-
matplotlib.fontconfig_pattern.
parse_fontconfig_pattern
(pattern)¶ 分析给定的fontconfig 模式 并返回用于初始化
font_manager.FontProperties
对象。
-
matplotlib.fontconfig_pattern.
value_escape
(/, repl, string, count=0)¶ 返回通过用replacement repl替换字符串中最左边的不重叠的模式来获得的字符串。
-
matplotlib.fontconfig_pattern.
value_unescape
(/, repl, string, count=0)¶ 返回通过用replacement repl替换字符串中最左边的不重叠的模式来获得的字符串。