Skip to content

Commit

Permalink
feat: respect categorical encoding map order (#74)
Browse files Browse the repository at this point in the history
* Update third party libs

* Order legend by dict order

* Update

* Update jscatter/encodings.py

Co-authored-by: Trevor Manz <trevor.j.manz@gmail.com>

---------

Co-authored-by: Trevor Manz <trevor.j.manz@gmail.com>
  • Loading branch information
flekschas and manzt authored May 25, 2023
1 parent 70f12bb commit a1563ae
Show file tree
Hide file tree
Showing 5 changed files with 1,113 additions and 5,104 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v0.12.4

- Respect the dictionary key-value order of categorical encoding maps in the legend. E.g., the following categorical color map legend will read `C`, then `B`, and finally `A`:

```py
scatter.legend(True)
scatter.color(map=dict(C='red', B='blue', A='pink'))
```

- Update third-party JS libraries

## v0.12.3

- Fix incorrect legend for categorical coloring
Expand Down
Loading

0 comments on commit a1563ae

Please sign in to comment.