Skip to content

Commit 1aa71d1

Browse files
author
Sean Sullivan
committed
Add ticket reference
1 parent 5fff0eb commit 1aa71d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elastic_datashader/tilegen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,8 +1271,9 @@ def remap_bucket(bucket, search):
12711271
categories.insert(0, categories.pop(categories.index("Other")))
12721272
except ValueError:
12731273
pass
1274-
1274+
12751275
# datashader has issue in 0.15.0 with categories that have only one class
1276+
# https://github.com/holoviz/datashader/issues/1230
12761277
if len(categories) == 1:
12771278
categories.append('')
12781279
cat_dtype = pd.api.types.CategoricalDtype(categories=categories, ordered=True)

0 commit comments

Comments
 (0)