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

Skip to content

Commit cd45419

Browse files
committed
Added test for giving color=None to plot function.
1 parent 22d2429 commit cd45419

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3402,6 +3402,12 @@ def test_pathological_hexbin():
34023402
plt.show()
34033403
assert_equal(len(w), 0)
34043404

3405+
@cleanup
3406+
def test_color_None():
3407+
# issue 3855
3408+
fig, ax = plt.subplots()
3409+
ax.plot([1,2], [1,2], color=None)
3410+
plt.show()
34053411

34063412
if __name__ == '__main__':
34073413
import nose

0 commit comments

Comments
 (0)