File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def test_legend_entries():
94
94
@pytest .mark .mpl_image_compare
95
95
def test_legend_specfile (legend_spec ):
96
96
"""
97
- Test Figure.legend with a legend specification file.
97
+ Test passing a legend specification file.
98
98
"""
99
99
with GMTTempFile () as specfile :
100
100
Path (specfile .name ).write_text (legend_spec , encoding = "utf-8" )
@@ -107,7 +107,7 @@ def test_legend_specfile(legend_spec):
107
107
@pytest .mark .mpl_image_compare (filename = "test_legend_specfile.png" )
108
108
def test_legend_stringio (legend_spec ):
109
109
"""
110
- Test Figure.legend with a legend specification from an io.StringIO object.
110
+ Test passing an legend specification via an io.StringIO object.
111
111
"""
112
112
spec = io .StringIO (legend_spec )
113
113
fig = Figure ()
You can’t perform that action at this time.
0 commit comments