Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcef8fd

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)