Skip to content

Commit

Permalink
matplotlib.checkdep_usetex is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jun 11, 2022
1 parent ea194b8 commit d3f4cc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion astropy/visualization/wcsaxes/tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@

ft_version = Version(matplotlib.ft2font.__freetype_version__)
FREETYPE_261 = ft_version == Version("2.6.1")
TEX_UNAVAILABLE = not matplotlib.checkdep_usetex(True)

# We cannot use matplotlib.checkdep_usetex() anymore, see
# https://github.com/matplotlib/matplotlib/issues/23244
TEX_UNAVAILABLE = True

MATPLOTLIB_DEV = Version(matplotlib.__version__).is_devrelease

Expand Down

0 comments on commit d3f4cc2

Please sign in to comment.