Skip to content

Commit

Permalink
fix explicit cmap example in apidoc (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
dionhaefner committed May 15, 2023
1 parent 17d4789 commit af0506d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terracotta/server/singleband.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Meta:
explicit_color_map = fields.Dict(
keys=fields.Number(),
values=fields.List(fields.Number, validate=validate.Length(min=3, max=4)),
example="{0: (255, 255, 255)}",
example='{"0": [255, 255, 255]}',
description="Explicit value-color mapping to use, encoded as JSON object. "
"Must be given together with `colormap=explicit`. Color values can be "
"specified either as RGB or RGBA tuple (in the range of [0, 255]), or as "
Expand Down

0 comments on commit af0506d

Please sign in to comment.