Thanks to visit codestin.com Credit goes to github.com
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 3a53ebf commit a94dc42Copy full SHA for a94dc42
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.get_text(), 'black')
+ assert mpl.colors.same_color(text.get_color(), 'black')
696
697
698
def test_legend_pathcollection_labelcolor_linecolor_cmap():
@@ -703,7 +703,7 @@ def test_legend_pathcollection_labelcolor_linecolor_cmap():
703
704
705
706
707
708
709
def test_legend_labelcolor_markeredgecolor():
0 commit comments