8000 MNT : Cycler-family API tweaks · danielballan/matplotlib@6b0696d · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b0696d

Browse files
committed
MNT : Cycler-family API tweaks
- make _base_cycler public as BaseCycler
1 parent 958b0b6 commit 6b0696d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/cycler.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def cycler(label, itr):
123123
return Cycler._from_iter(label, itr)
124124

125125

126-
class _base_cycler(object):
126+
class BaseCycler(object):
127127
"""
128128
Helper base-class to provide composition logic to
129129
`SingleCycler` and `CompoundCycler`.
@@ -142,7 +142,7 @@ def __mul__(self, other):
142142
return CompoundCycler(self, other, product)
143143

144144

145-
class SingleCycler(_base_cycler):
145+
class SingleCycler(BaseCycler):
146146
"""
147147
Class to hold the cycle for a single parameter and handle the
148148
composition.
@@ -183,7 +183,7 @@ def keys(self):
183183
return set([self._label])
184184

185185

186-
class CompoundCycler(_base_cycler):
186+
class CompoundCycler(BaseCycler):
187187
"""
188188
A class to handle cycling multiple artist properties.
189189
@@ -197,10 +197,10 @@ class CompoundCycler(_base_cycler):
197197
198198
Parameters
199199
----------
200-
left : _base_cycler
200+
left : BaseCycler
201201
The 'left' cycler
202202
203-
right : _base_cycler
203+
right : BaseCycler
204204
The 'right' cycler
205205
206206
op : function

0 commit comments

Comments
 (0)
0