Skip to content

Enhance LaTeX detection

This PR enhances the gwpy.plot.tex.has_tex function that attempts to detect whether LaTeX can be used as a text renderer by attempting to draw (but not render) an image that actually uses latex.

This should amount to an end-to-end test such that if has_tex returns True, then the user has significant assurance that the LaTeX installation is complete enough for MPL.

Merge request reports