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):
5151 lookup = {c : i for i , c in enumerate (classes )}
5252 arr = np .zeros ((len (labels ), len (classes )), dtype = bool )
5353 for i , l in enumerate (labels ):
54-
5554 if l is None :
5655 continue
5756 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
77author = Ian Hunt-Isaak
8899license = BSD-3-Clause
10- license_file = LICENSE
10+ license_files = LICENSE
1111classifiers =
1212 Development Status :: 5 - Production/Stable
1313 Framework :: Matplotlib
1414 License :: OSI Approved :: BSD License
1515 Natural Language :: English
1616 Programming Language :: Python :: 3
1717 Programming Language :: Python :: 3 :: Only
18- Programming Language :: Python :: 3.7
19- Programming Language :: Python :: 3.8
20- Programming Language :: Python :: 3.9
2118 Programming Language :: Python :: Implementation :: CPython
2219project_urls =
2320 Tracker = https://github.com/ianhi/mpl-image-labeller/issues
@@ -29,7 +26,7 @@ project_urls =
2926packages = find:
3027install_requires =
3128 matplotlib
32- python_requires = >=3.7
29+ python_requires = >=3.8
3330zip_safe = False
3431
3532[options.extras_require]
You can’t perform that action at this time.
0 commit comments