File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,18 +210,18 @@ def update(self, data):
210210 """
211211 data = np .atleast_1d (np .array (data , dtype = object ))
212212
213- # check if convertable to number:
214- convertable = True
213+ # check if convertible to number:
214+ convertible = True
215215 for val in OrderedDict .fromkeys (data ):
216216 # OrderedDict just iterates over unique values in data.
217217 if not isinstance (val , (str , bytes )):
218218 raise TypeError ("{val!r} is not a string" .format (val = val ))
219- if convertable :
220- # this will only be called so long as convertable is True.
221- convertable = self ._str_is_convertible (val )
219+ if convertible :
220+ # this will only be called so long as convertible is True.
221+ convertible = self ._str_is_convertible (val )
222222 if val not in self ._mapping :
223223 self ._mapping [val ] = next (self ._counter )
224- if convertable :
224+ if convertible :
225225 _log .info ('Using categorical units to plot a list of strings '
226226 'that are all parsable as floats or dates. If these '
227227 'strings should be plotted as numbers, cast to the '
You can’t perform that action at this time.
0 commit comments