Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9f7d92

Browse files
committed
Add note to remove texts in baselines when they are regenerated.
1 parent 060992a commit a9f7d92

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
@image_comparison(['image_interps'], style='mpl20')
2828
def test_image_interps():
2929
"""Make the basic nearest, bilinear and bicubic interps."""
30+
# Remove texts when this image is regenerated.
3031
# Remove this line when this test image is regenerated.
3132
plt.rcParams['text.kerning_factor'] = 6
3233

lib/matplotlib/tests/test_legend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def test_legend_expand():
254254

255255
@image_comparison(['hatching'], remove_text=True, style='default')
256256
def test_hatching():
257+
# Remove legend texts when this image is regenerated.
257258
# Remove this line when this test image is regenerated.
258259
plt.rcParams['text.kerning_factor'] = 6
259260

0 commit comments

Comments
 (0)