Skip to content

Commit dde9d07

Browse files
committed
Added tests for parallel_plot() use_columns and xticks kwargs
1 parent 686b5b4 commit dde9d07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/test_graphics.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,11 @@ def test_parallel_coordinates(self):
464464
colors=('#556270', '#4ECDC4', '#C7F464'))
465465
_check_plot_works(parallel_coordinates, df, 'Name',
466466
colors=['dodgerblue', 'aquamarine', 'seagreen'])
467+
468+
df = read_csv(path, header=None, skiprows=1, names=[1,2,4,8, 'Name'])
469+
_check_plot_works(parallel_coordinates, df, 'Name', use_columns=True)
470+
_check_plot_works(parallel_coordinates, df, 'Name',
471+
xticks=[1, 5, 25, 125])
467472

468473
@slow
469474
def test_radviz(self):

0 commit comments

Comments
 (0)