We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c7da4 commit 44b69e9Copy full SHA for 44b69e9
pandas/plotting/_matplotlib/core.py
@@ -1807,7 +1807,7 @@ def orientation(self) -> PlottingOrientation:
1807
@final
1808
def _set_tick_pos(self, data) -> np.ndarray:
1809
if self._is_series and is_integer_dtype(data.index):
1810
- return np.array(self._get_xticks(), dtype=int)
+ return np.array(data.index)
1811
else:
1812
return np.arange(len(data))
1813
0 commit comments