Skip to content

Commit 28f06fc

Browse files
committed
CLN: Remove duplicate code line
1 parent 3c8b54f commit 28f06fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/plotting/_matplotlib/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,11 +1393,10 @@ def _make_plot(self):
13931393
if self.orientation == "vertical":
13941394
ax.xaxis.update_units(self.ax_index)
13951395
self.tick_pos = ax.convert_xunits(self.ax_index).astype(np.int)
1396-
self.ax_pos = self.tick_pos - self.tickoffset
13971396
elif self.orientation == "horizontal":
13981397
ax.yaxis.update_units(self.ax_index)
13991398
self.tick_pos = ax.convert_yunits(self.ax_index).astype(np.int)
1400-
self.ax_pos = self.tick_pos - self.tickoffset
1399+
self.ax_pos = self.tick_pos - self.tickoffset
14011400

14021401
kwds = self.kwds.copy()
14031402
if self._is_series:

0 commit comments

Comments
 (0)