Skip to content

Commit 8379456

Browse files
author
Sean Sullivan
committed
.
1 parent e5a1fce commit 8379456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elastic_datashader/tilegen.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ def generate_tile(idx, x, y, z, headers, params, tile_width_px=256, tile_height_
11771177
bucket.metric("sum","sum",field=category_field,missing=0)
11781178
searches.append(subtile_s)
11791179
cmap = "bmy" #todo have front end pass the cmap for none categorical
1180-
1180+
11811181
# def calc_aggregation(bucket,search):
11821182
# #get bounds from bucket.key
11831183
# #do search for sum of values on category_field
@@ -1196,7 +1196,7 @@ def generate_tile(idx, x, y, z, headers, params, tile_width_px=256, tile_height_
11961196
# search.total_failed += response._shards.failed # pylint: disable=W0212
11971197
# bucket.doc_count = response.aggregations.sum['value'] #replace with sum of category_field
11981198
# return bucket
1199-
1199+
12001200
def remap_bucket(bucket,search):
12011201
# pylint: disable=unused-argument
12021202
#get bounds from bucket.key

0 commit comments

Comments
 (0)