Skip to content

Commit ccd52a1

Browse files
committed
1 parent e112d5a commit ccd52a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/collections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ def __init__(
12671267
super().__init__(polys, **kwargs)
12681268

12691269
@property
1270-
def dep_dir(self):
1270+
def _dep_dir(self):
12711271
match self.ind_dir:
12721272
case "x":
12731273
return "y"
@@ -1285,7 +1285,7 @@ def set_data(
12851285
self.set_verts(polys)
12861286

12871287
def _make_verts(self, ind, dep1, dep2, where, interpolate, step, axes, **kwargs):
1288-
dirs = (self.ind_dir, self.dep_dir, self.dep_dir)
1288+
dirs = (self.ind_dir, self._dep_dir, self._dep_dir)
12891289
# Handle united data, such as dates
12901290
if axes:
12911291
ind, dep1, dep2 = axes._process_unit_info(

0 commit comments

Comments
 (0)