-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default format in array editor to ''
Before, the default format in the array editor for non-numeric arrays was set to 's'. This meant that ArrayModel.data() returned a value of type numpy.str_ for string arrays instead of a value of type str. The consequence was that the contents of the array were not shown. Changing the default format to '' fixes this. Also add a regression test.
- Loading branch information
1 parent
a89ee75
commit ed46ef7
Showing
2 changed files
with
22 additions
and
2 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