| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -210,18 +210,18 @@ def update(self, data): | |||
| 210 | 210 | """ | |
| 211 | 211 | data = np.atleast_1d(np.array(data, dtype=object)) | |
| 212 | 212 | ||
| 213 | - # check if convertable to number: | ||
| 214 | - convertable = True | ||
| 213 | + # check if convertible to number: | ||
| 214 | + convertible = True | ||
| 215 | 215 | for val in OrderedDict.fromkeys(data): | |
| 216 | 216 | # OrderedDict just iterates over unique values in data. | |
| 217 | 217 | if not isinstance(val, (str, bytes)): | |
| 218 | 218 | 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) | ||
| 222 | 222 | if val not in self._mapping: | |
| 223 | 223 | self._mapping[val] = next(self._counter) | |
| 224 | - if convertable: | ||
| 224 | + if convertible: | ||
| 225 | 225 | _log.info('Using categorical units to plot a list of strings ' | |
| 226 | 226 | 'that are all parsable as floats or dates. If these ' | |
| 227 | 227 | 'strings should be plotted as numbers, cast to the ' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments