Skip to content

Commit

Permalink
Fixed issue generating string arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 4, 2018
1 parent 23c4ccf commit 921752a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/data/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def values(cls, dataset, dim, expanded=True, flat=True):
if np.isscalar(values):
if not expanded:
return np.array([values])
values = np.full(len(dataset), values)
values = np.full(len(dataset), values, dtype=np.array(values).dtype)
else:
if not expanded:
return util.unique_array(values)
Expand Down

0 comments on commit 921752a

Please sign in to comment.