Skip to content

Commit

Permalink
Fixing pylint for possibly-used-before-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Bynum committed May 30, 2024
1 parent 2b4d831 commit 52b11a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elastic_datashader/tilegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,8 @@ def generate_nonaggregated_tile(
# now for the points as well
points_agg = None

points_color_key = None

if df_points is not None:
df_points["c"] = df_points["c"].astype("category")
# prevent memory explosion in datashader _colorize
Expand Down

0 comments on commit 52b11a5

Please sign in to comment.