batchflow
batchflow copied to clipboard
Change `try_import` behaviour
Change try_import
for a case where module exists but an ImportError
is raised due to incorrect imports from it.
E.g., matplotlib>=3.9.0
doesn't have matplotlib.cm.register_cmap