Skip to content

Commit edba572

Browse files
Terji PetersenTerji Petersen
Terji Petersen
authored and
Terji Petersen
committed
attribute fix
1 parent a066ac0 commit edba572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_matplotlib/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ def __init__(self, data, x, y, s=None, c=None, **kwargs) -> None:
11951195
elif is_hashable(s) and s in data.columns:
11961196
s = data[s]
11971197
super().__init__(data, x, y, s=s, **kwargs)
1198-
if is_integer(c) and not holds_integer(self.data.columns.holds):
1198+
if is_integer(c) and not holds_integer(self.data.columns):
11991199
c = self.data.columns[c]
12001200
self.c = c
12011201

0 commit comments

Comments
 (0)