Skip to content

Commit 1467f9f

Browse files
committed
Add minor code change, what's new doc fix
1 parent 3ede37a commit 1467f9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v0.20.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Other Enhancements
372372
- ``pd.read_csv()`` will now raise a ``ParserError`` error whenever any parsing error occurs (:issue:`15913`, :issue:`15925`)
373373
- ``pd.read_csv()`` now supports the ``error_bad_lines`` and ``warn_bad_lines`` arguments for the Python parser (:issue:`15925`)
374374
- ``pd.read_csv()`` will now raise a ``csv.Error`` error whenever an end-of-file character is encountered in the middle of a data row (:issue:`15913`)
375-
- ``parallel_coordinates()`` now has a ``sort_labels`` keyword arg that sorts class labels and the colours assigned to them (:issue:`15908`)
375+
- ``parallel_coordinates()`` has gained a ``sort_labels`` keyword arg that sorts class labels and the colours assigned to them (:issue:`15908`)
376376

377377

378378
.. _ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations

pandas/tools/plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def parallel_coordinates(frame, class_column, cols=None, ax=None, color=None,
780780
colormap=colormap, color_type='random',
781781
color=color)
782782

783-
if sort_labels is True:
783+
if sort_labels:
784784
classes = sorted(classes)
785785
color_values = sorted(color_values)
786786
colors = dict(zip(classes, color_values))

0 commit comments

Comments
 (0)