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

Skip to content

Commit f5f9eec

Browse files
Fix linting errors in test_text.py
1. Add 2 blank lines before function definition 2. Split long comment line to stay within 80 chars
1 parent aa4f232 commit f5f9eec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/matplotlib/tests/test_text.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,8 +1236,11 @@ def test_text_tightbbox_outside_scale_domain():
12361236
invalid_text = ax.text(0, -5, 'invalid')
12371237
invalid_bbox = invalid_text.get_tightbbox(fig.canvas.get_renderer())
12381238
assert not np.isfinite(invalid_bbox.width)
1239+
1240+
12391241
def test_annotation_patchA_not_overridden():
1240-
# Test that manually setting patchA on annotation arrow is not overridden by update_positions. See GitHub issue #28316.
1242+
# Test that manually setting patchA on annotation arrow is not
1243+
# overridden by update_positions. See GitHub issue #28316.
12411244
fig, ax = plt.subplots()
12421245
ann = ax.annotate(
12431246
'',

0 commit comments

Comments
 (0)