Skip to content

Commit

Permalink
Merge pull request #138 from tpvasconcelos/small-refactor
Browse files Browse the repository at this point in the history
Small refactor
  • Loading branch information
tpvasconcelos authored Sep 8, 2023
2 parents 0705f9b + fcd4f73 commit 6a15080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/update_colors_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def main() -> None:
all_colorscales_rgb[name.lower()] = colorscale_rgb

with _PATH_TO_COLORS_JSON.open(mode="w") as _colors_json:
json.dump(all_colorscales_rgb, _colors_json, indent=2)
json.dump(all_colorscales_rgb, _colors_json, indent=2, sort_keys=True)
_colors_json.write("\n")


if __name__ == "__main__":
Expand Down
File renamed without changes.

0 comments on commit 6a15080

Please sign in to comment.