8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7da452 + 13f641c commit 55e504bCopy full SHA for 55e504b
lib/matplotlib/tests/test_axes.py
@@ -3642,14 +3642,14 @@ def test_step_linestyle():
3642
ax.set_ylim([-1, 7])
3643
3644
# Reuse testcase from above for a labeled data test
3645
- data = {"x": x, "y": y, "y1": y+1, "y2": y+2}
+ data = {"X": x, "Y0": y, "Y1": y+1, "Y2": y+2}
3646
fig, ax_lst = plt.subplots(2, 2)
3647
ax_lst = ax_lst.flatten()
3648
ln_styles = ['-', '--', '-.', ':']
3649
for ax, ls in zip(ax_lst, ln_styles):
3650
- ax.step("x", "y", lw=5, linestyle=ls, where='pre', data=data)
3651
- ax.step("x", "y1", lw=5, linestyle=ls, where='mid', data=data)
3652
- ax.step("x", "y2", lw=5, linestyle=ls, where='post', data=data)
+ ax.step("X", "Y0", lw=5, linestyle=ls, where='pre', data=data)
+ ax.step("X", "Y1", lw=5, linestyle=ls, where='mid', data=data)
+ ax.step("X", "Y2", lw=5, linestyle=ls, where='post', data=data)
3653
ax.set_xlim([-1, 5])
3654
3655
0 commit comments