Skip to content

Commit 24dec22

Browse files
committed
CLN: Remove duplicate code line
1 parent 7158969 commit 24dec22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/plotting/_matplotlib/core.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1368,11 +1368,10 @@ def _make_plot(self):
13681368
if self.orientation == "vertical":
13691369
ax.xaxis.update_units(self.ax_index)
13701370
self.tick_pos = ax.convert_xunits(self.ax_index).astype(np.int)
1371-
self.ax_pos = self.tick_pos - self.tickoffset
13721371
elif self.orientation == "horizontal":
13731372
ax.yaxis.update_units(self.ax_index)
13741373
self.tick_pos = ax.convert_yunits(self.ax_index).astype(np.int)
1375-
self.ax_pos = self.tick_pos - self.tickoffset
1374+
self.ax_pos = self.tick_pos - self.tickoffset
13761375

13771376
kwds = self.kwds.copy()
13781377
if self._is_series:

0 commit comments

Comments
 (0)