We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41162b3 commit 9842f15Copy full SHA for 9842f15
lib/matplotlib/tests/test_legend.py
@@ -692,7 +692,7 @@ def test_legend_pathcollection_labelcolor_linecolor_iterable():
692
693
leg = ax.legend(labelcolor='linecolor')
694
text, = leg.get_texts()
695
- assert mpl.colors.same_color(text, 'black')
+ assert mpl.colors.same_color(text.get_text(), 'black')
696
697
698
def test_legend_pathcollection_labelcolor_linecolor_cmap():
0 commit comments