-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Colorbar for supporting numpy dtypes (#1782)
* Update map_widgets.py Worked with vis_params 'min' and 'max': - Accept types other than (int, float), for example numpy.float32. In deed, anything that can be converted to float is accepted. - Improved error messages in case 'min', 'max' can not be converted to float. * Change ValueError to TypeError * Fix unit test errors --------- Co-authored-by: Qiusheng Wu <giswqs@gmail.com>
- Loading branch information
1 parent
d2024d1
commit 9782032
Showing
2 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters