Protect against KeyError in has_tex()
This PR patches gwpy.plot.tex.has_tex
to catch KeyError
s, so that no PATH
variable doesn't crash the plotter, but just disables TeX.
This PR patches gwpy.plot.tex.has_tex
to catch KeyError
s, so that no PATH
variable doesn't crash the plotter, but just disables TeX.