Skip to content

Add note to remove texts in baselines when they are regenerated. #26188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/matplotlib/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
@image_comparison(['image_interps'], style='mpl20')
def test_image_interps():
"""Make the basic nearest, bilinear and bicubic interps."""
# Remove texts when this image is regenerated.
# Remove this line when this test image is regenerated.
plt.rcParams['text.kerning_factor'] = 6

Expand Down
1 change: 1 addition & 0 deletions lib/matplotlib/tests/test_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def test_legend_expand():

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

Expand Down