class_docstr: The ``.. mathmpl::`` directive, as documented in the module's docstring.
class_docstr_tok: ["The","``","..","mathmpl",":",":","``","directive",",","as","documented","in","the","module","'s","docstring","."]
code: def run(self):
      latex = "".join(self.content)
      node = latex_math(self.block_text)
      node["latex"] = latex
      node["fontset"] = self.options.get("fontset", "cm")
      node["fontsize"] = self.options.get(
          "fontsize", setup.app.config.mathmpl_fontsize
      )
      return [node]
  
imports: import hashlib
  from pathlib import Path
  from docutils import nodes
  from docutils.parsers.rst import Directive, directives
  import sphinx
  from sphinx.errors import ConfigError, ExtensionError
  import matplotlib
  from matplotlib import _api, mathtext
  from matplotlib.rcsetup import validate_float_or_None
label_desc: Use image node_id 1 for calling the MathDirective obj's underlying member method code with example usage: obj.run() and returns: list