Skip to content

Commit 0059043

Browse files
committed
Break line to reduce width in text_axes.py
1 parent 73137f6 commit 0059043

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/tests/test_axes.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -4526,9 +4526,11 @@ def test_errorbar_linewidth_type(elinewidth):
45264526
plt.errorbar([1, 2, 3], [1, 2, 3], yerr=[1, 2, 3], elinewidth=elinewidth)
45274527

45284528
def test_errorbar_linestyle_type():
4529-
eb = plt.errorbar([1, 2, 3], [1, 2, 3], yerr=[1, 2, 3], elinestyle='-')
4529+
eb = plt.errorbar([1, 2, 3], [1, 2, 3],
4530+
yerr=[1, 2, 3], elinestyle='-')
45304531
assert eb[-1][0].get_linestyle() == '-'
4531-
eb = plt.errorbar([1, 2, 3], [1, 2, 3], xerr=[1, 2, 3], yerr=[1, 2, 3], elinestyle=':')
4532+
eb = plt.errorbar([1, 2, 3], [1, 2, 3], xerr=[1, 2, 3],
4533+
yerr=[1, 2, 3], elinestyle=':')
45324534
assert eb[-1][0].get_linestyle() == ':'
45334535
assert eb[-1][1].get_linestyle() == ':'
45344536

0 commit comments

Comments
 (0)