Thanks to visit codestin.com Credit goes to github.com
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 08acc8d + c02afdd commit 333136bCopy full SHA for 333136b
lib/matplotlib/tests/test_axes.py
@@ -3643,14 +3643,14 @@ def test_twin_spines_on_top():
3643
ax2.fill_between(data[0], data[1]/1E3, color='#7FC97F', alpha=.5)
3644
3645
# Reuse testcase from above for a labeled data test
3646
- data = {"x": data[0], "y": data[1]/1E3}
+ data = {"i": data[0], "j": data[1]/1E3}
3647
fig = plt.figure()
3648
ax1 = fig.add_subplot(1, 1, 1)
3649
ax2 = ax1.twinx()
3650
- ax1.plot("x", "y", color='#BEAED4', data=data)
3651
- ax1.fill_between("x", "y", color='#BEAED4', alpha=.8, data=data)
3652
- ax2.plot("x", "y", color='#7FC97F', data=data)
3653
- ax2.fill_between("x", "y", color='#7FC97F', alpha=.5, data=data)
+ ax1.plot("i", "j", color='#BEAED4', data=data)
+ ax1.fill_between("i", "j", color='#BEAED4', alpha=.8, data=data)
+ ax2.plot("i", "j", color='#7FC97F', data=data)
+ ax2.fill_between("i", "j", color='#7FC97F', alpha=.5, data=data)
3654
3655
3656
@cleanup
0 commit comments