擅长:python、mysql、java
<p>尝试使用</p>
<pre><code>ax.annotate('1st Lockdown', ...)
</code></pre>
<p>见<a href="https://matplotlib.org/3.3.1/tutorials/text/annotations.html#plotting-guide-annotation" rel="nofollow noreferrer">https://matplotlib.org/3.3.1/tutorials/text/annotations.html#plotting-guide-annotation</a></p>