We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b20246 commit 7f88d82Copy full SHA for 7f88d82
pandas/plotting/_core.py
@@ -573,7 +573,7 @@ def _get_xticks(self, convert_period=False):
573
self.data = self.data[notna(self.data.index)]
574
self.data = self.data.sort_index()
575
x = self.data.index._mpl_repr()
576
- elif all(isinstance(val, str) for val in index):
+ elif all(isinstance(val, string_types) for val in index):
577
x = index._mpl_repr()
578
else:
579
self._need_to_set_index = True
0 commit comments