File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ def list_to_onehot(labels, classes):
51
51
lookup = {c : i for i , c in enumerate (classes )}
52
52
arr = np .zeros ((len (labels ), len (classes )), dtype = bool )
53
53
for i , l in enumerate (labels ):
54
-
55
54
if l is None :
56
55
continue
57
56
elif isinstance (l , str ) or not isinstance (l , Iterable ):
Original file line number Diff line number Diff line change @@ -7,17 +7,14 @@ url = https://mpl-image-labeller.rtfd.io
7
7
author = Ian Hunt-Isaak
8
8
9
9
license = BSD-3-Clause
10
- license_file = LICENSE
10
+ license_files = LICENSE
11
11
classifiers =
12
12
Development Status :: 5 - Production/Stable
13
13
Framework :: Matplotlib
14
14
License :: OSI Approved :: BSD License
15
15
Natural Language :: English
16
16
Programming Language :: Python :: 3
17
17
Programming Language :: Python :: 3 :: Only
18
- Programming Language :: Python :: 3.7
19
- Programming Language :: Python :: 3.8
20
- Programming Language :: Python :: 3.9
21
18
Programming Language :: Python :: Implementation :: CPython
22
19
project_urls =
23
20
Tracker = https://github.com/ianhi/mpl-image-labeller/issues
@@ -29,7 +26,7 @@ project_urls =
29
26
packages = find:
30
27
install_requires =
31
28
matplotlib
32
- python_requires = >=3.7
29
+ python_requires = >=3.8
33
30
zip_safe = False
34
31
35
32
[options.extras_require]
You can’t perform that action at this time.
0 commit comments