Skip to content

Commit 4f5e097

Browse files
TEST: add test for adding color kwarg to scatter_matrix
1 parent c804a3a commit 4f5e097

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/plotting/test_misc.py

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ def scat(**kwds):
7777
_check_plot_works(scat, diagonal='hist')
7878
with tm.assert_produces_warning(UserWarning):
7979
_check_plot_works(scat, range_padding=.1)
80+
with tm.assert_produces_warning(UserWarning):
81+
_check_plot_works(scat, color='rgb')
82+
with tm.assert_produces_warning(UserWarning):
83+
_check_plot_works(scat, c='rgb')
8084

8185
def scat2(x, y, by=None, ax=None, figsize=None):
8286
return plotting.scatter_plot(df, x, y, by, ax, figsize=None)

0 commit comments

Comments
 (0)