MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / run

Method run

lib/matplotlib/sphinxext/mathmpl.py:120–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 'fontsize': validate_float_or_None}
119
120 def run(self):
121 latex = ''.join(self.content)
122 node = latex_math(self.block_text)
123 node['latex'] = latex
124 node['fontset'] = self.options.get('fontset', 'cm')
125 node['fontsize'] = self.options.get('fontsize',
126 setup.app.config.mathmpl_fontsize)
127 return [node]
128
129
130# This uses mathtext to render the expression

Callers 5

start_main_loopMethod · 0.45
save_figureMethod · 0.45
__call__Method · 0.45

Calls 3

latex_mathClass · 0.85
joinMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected