<p dir="auto">We started getting this deprecation warning but I don't know what to do with it. Is there somewhere in your documentation that would explain this more? Thanks! Example log: <a href="https://github.com/astropy/astropy/runs/6838665326?check_suite_focus=true">https://github.com/astropy/astropy/runs/6838665326?check_suite_focus=true</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="matplotlib._api.deprecation.MatplotlibDeprecationWarning: The checkdep_usetex function
was deprecated in Matplotlib 3.6 and will be removed two minor releases later.
Use Vendor the code instead."><pre class="notranslate"><code class="notranslate">matplotlib._api.deprecation.MatplotlibDeprecationWarning: The checkdep_usetex function
was deprecated in Matplotlib 3.6 and will be removed two minor releases later.
Use Vendor the code instead.
</code></pre></div>
<p dir="auto">We use it like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" TEX_UNAVAILABLE = not matplotlib.checkdep_usetex(True)"><pre class="notranslate"> <span class="pl-v">TEX_UNAVAILABLE</span> <span class="pl-c1">=</span> <span class="pl-c1">not</span> <span class="pl-s1">matplotlib</span>.<span class="pl-en">checkdep_usetex</span>(<span class="pl-c1">True</span>)</pre></div>
<p dir="auto">Hard to tell from the traceback where this is coming from inside matplotlib because the warning went through a generic <code class="notranslate">matplotlib/_api/deprecation.py</code>.</p>
<p dir="auto"><a href="https://sourceforge.net/tracker/?func=detail&amp;aid=3106214&amp;group_id=80706&amp;atid=560721" rel="nofollow">Original report at SourceForge, opened Tue Nov  9 15:40:14 2010</a></p>
<p dir="auto">The "pip" installation tool uses this URL to find the correct version of the matplotlib package:<br>
<a href="http://pypi.python.org/simple/matplotlib/" rel="nofollow">http://pypi.python.org/simple/matplotlib/</a><br>
matplotlib 1.0.0 appears on that page, but pip selects the very old 0.91.1 release for installation instead.</p>
<p dir="auto">I'm not expert enough with either matplotlib or pip to determine whether this is a pip bug or a configuration<br>
issue in the matplotlib entry on the Python Package Index.</p>
<p dir="auto">Python 2.4.3 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="611170" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/1/hovercard" href="https://github.com/matplotlib/matplotlib/pull/1">#1</a>, Sep  8 2010, 11:37:47)<br>
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2</p>