ayoolaolafenwa / PixelLib

Visit PixelLib's official documentation https://pixellib.readthedocs.io/en/latest/
MIT License
1.04k stars 267 forks source link

Removed deprecated np.bool and replaced it with bool type #177

Open Rhythm1821 opened 11 months ago

Rhythm1821 commented 11 months ago

Changes Made

• Removed the deprecated np.bool type from the codebase. • Replaced instances of np.bool with the built-in bool type.

Context

The use of np.bool has been deprecated, and it is recommended to use the native bool type in Python. This pull request addresses this deprecation by removing all occurrences of np.bool and updating them to use bool instead. This ensures code compatibility with the latest best practices and avoids potential issues related to deprecated types.