Skip to content

Commit cea0a81

Browse files
CianciuStylesjreback
authored andcommitted
Fix typo in error message in the PlanePlot class (#21350)
1 parent a363e1a commit cea0a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ class PlanePlot(MPLPlot):
811811
def __init__(self, data, x, y, **kwargs):
812812
MPLPlot.__init__(self, data, **kwargs)
813813
if x is None or y is None:
814-
raise ValueError(self._kind + ' requires and x and y column')
814+
raise ValueError(self._kind + ' requires an x and y column')
815815
if is_integer(x) and not self.data.columns.holds_integer():
816816
x = self.data.columns[x]
817817
if is_integer(y) and not self.data.columns.holds_integer():

0 commit comments

Comments
 (0)