Skip to content

Commit e71968f

Browse files
committed
fix: pylint
1 parent dc9042a commit e71968f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python 3.10.13

pandas/tests/plotting/test_series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ def test_bar_plot_x_axis(self, plot_data):
989989
df = DataFrame(plot_data)
990990
ax_bar = df["bars"].plot(kind="bar")
991991
df["pct"].plot(kind="line")
992-
actual_bar_x = [bar.get_x() + bar.get_width() / 2.0 for bar in ax_bar.patches]
992+
actual_bar_x = [ax.get_x() + ax.get_width() / 2.0 for ax in ax_bar.patches]
993993
expected_x = [-1, 0, 1, 2, 3]
994994
assert actual_bar_x == expected_x
995995

0 commit comments

Comments
 (0)