Skip to content

Commit

Permalink
Fixed bug in gridmatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 31, 2017
1 parent 7330999 commit e36f86a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions holoviews/operation/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,9 +782,10 @@ def _process(self, p, element, ranges={}):
el_data = element.data

# Get dimensions to plot against each other
types = (str, basestring)+datetime_types
types = (str, basestring, np.str_, np.object_)+datetime_types
dims = [d for d in element.dimensions()
if not isinstance(element.range(d)[0], types)]
if _is_number(element.range(d)[0]) and
not issubclass(element.get_dimension_type(d), types)]
permuted_dims = [(d1, d2) for d1 in dims
for d2 in dims[::-1]]

Expand Down

0 comments on commit e36f86a

Please sign in to comment.