<p dir="auto">Push all <code class="notranslate">hold</code> logic up to the pyplot layer.</p>
<p dir="auto">Assume that if client code wants to clear the axes, they will call it them selves.</p>
<p dir="auto">Tagged an v2.0 as I see no way to do this in a reverse compatible way.</p>
<h3 dir="auto">Problem</h3>
<p dir="auto">One serious problem is how to deal with text having both latex and html-like tags. <a href="https://matplotlib.org/stable/devel/MEP/MEP29.html" rel="nofollow">MEP29</a></p>

<h3 dir="auto">Proposed Solution</h3>
<p dir="auto">This MEP proposes to add lightweight markup to the text artist.</p>

<h3 dir="auto">Additional context and prior art</h3>
<p dir="auto">Using different size/color/family in a text annotation is difficult because the text method accepts argument for size/color/family/weight/etc. that are used for the whole text. But, if one wants, for example, to have different colors, one has to look at the gallery where one such example is provided: <a href="http://matplotlib.org/examples/text_labels_and_annotations/rainbow_text.html" rel="nofollow">http://matplotlib.org/examples/text_labels_and_annotations/rainbow_text.html</a></p>
<p dir="auto">This example takes a list of strings as well as a list of colors which makes it cumbersome to use. An alternative would be to use a restricted set of pango-like markup and to interpret this markup.</p>