Skip to content

Commit b74a7ce

Browse files
committed
Added tests for parallel coordinates plotting
1 parent 665c1c4 commit b74a7ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/tests/test_graphics.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,14 @@ def test_andrews_curves(self):
271271
df = read_csv(path)
272272
_check_plot_works(andrews_curves, df, 'Name')
273273

274+
@slow
275+
def test_parallel_coordinates(self):
276+
from pandas import read_csv
277+
from pandas.tools.plotting import parallel_coordinates
278+
path = os.path.join(curpath(), 'data/iris.csv')
279+
df = read_csv(path)
280+
_check_plot_works(parallel_coordinates, df, 'Name')
281+
274282
@slow
275283
def test_plot_int_columns(self):
276284
df = DataFrame(np.random.randn(100, 4)).cumsum()

0 commit comments

Comments
 (0)