Skip to content

Commit 81db896

Browse files
committed
pep8
1 parent ca311b5 commit 81db896

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/plotting/_core.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,12 @@ def _get_xticks(self, convert_period=False):
562562
self.data = self.data.reindex(index=index.sort_values())
563563
x = self.data.index.to_timestamp()._mpl_repr()
564564
elif (index.is_numeric() or
565-
index.inferred_type in ['string', 'unicode']
566-
):
565+
index.inferred_type in ['string', 'unicode']):
567566
"""
568567
Matplotlib supports numeric values or datetime objects as
569568
xaxis values. Taking LBYL approach here, by the time
570569
matplotlib raises exception when using non numeric/datetime
571570
values for xaxis, several actions are already taken by plt.
572-
573571
Matplotlib also supports strings as xaxis values.
574572
"""
575573
x = index._mpl_repr()

0 commit comments

Comments
 (0)