10000 Use numpy's unicode type in covert_to_string · matplotlib/matplotlib@fcef8fd · GitHub
[go: up one dir, main page]

Skip to content

Commit fcef8fd

Browse files
committed
Use numpy's unicode type in covert_to_string
1 parent 74d2d33 commit fcef8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/category.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, seq):
6161

6262

6363
def convert_to_string(value):
64-
return np.array(value, dtype=unicode)
64+
return np.array(value, dtype=np.unicode)
6565

6666

6767
class UnitData(object):

0 commit comments

Comments
 (0)
0