The code warnings.simplefilter("default") expands what warnings are shown and can cause warnings and errors which are normally not expected in other packages to show. In addition, depending on the import order this can override changes to the warnings filter made by the user. I think it would be better to remove this from the package to prevent issues caused by users receiving unexpected warnings/errors.
The code
warnings.simplefilter("default")
expands what warnings are shown and can cause warnings and errors which are normally not expected in other packages to show. In addition, depending on the import order this can override changes to the warnings filter made by the user. I think it would be better to remove this from the package to prevent issues caused by users receiving unexpected warnings/errors.