<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong><br>
If there are multiple curves with the same label in a figure/subplot, only the last one of them can be selected in the <em>Figure options</em> window under the <em>Curves</em> tab. In the legend however, they appear as they should.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
plt.plot([0,1],[0,1],label=&quot;line&quot;)
plt.plot([0,1],[1,0],label=&quot;line&quot;)
plt.legend()
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>([<span class="pl-c1">0</span>,<span class="pl-c1">1</span>],[<span class="pl-c1">0</span>,<span class="pl-c1">1</span>],<span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"line"</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>([<span class="pl-c1">0</span>,<span class="pl-c1">1</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">0</span>],<span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"line"</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">legend</span>()
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong><br>
See description above and the image below.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28358038/109487440-80328b80-7a84-11eb-81a2-b95fab397d9f.png"><img src="https://user-images.githubusercontent.com/28358038/109487440-80328b80-7a84-11eb-81a2-b95fab397d9f.png" alt="figure_options" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong><br>
All curves should be listed in the <em>Figure options</em> window, even if they have the same label.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: Windows 10</li>
<li>Matplotlib version (<code class="notranslate">import matplotlib; print(matplotlib.__version__)</code>): 3.3.4</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): Qt5Agg</li>
<li>Python version: 3.8.5</li>
<li>Jupyter version (if applicable): -</li>
<li>Other libraries: -</li>
</ul>
<p dir="auto">Matplotlib has been installed with pip.</p>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>

<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Paste your code here
#
#"><pre class="notranslate"><span class="pl-c"># Paste your code here</span>
<span class="pl-c">#</span>
<span class="pl-c">#</span></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# If applicable, paste the console output here
#
#"><pre class="notranslate"><code class="notranslate"># If applicable, paste the console output here
#
#
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system:</li>
<li>Matplotlib version:</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li>
<li>Python version:</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul>