Skip to content

Commit fbf826e

Browse files
committed
avoid warning in plot_trajectories
1 parent c0ade34 commit fbf826e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ ____
7373
Release Notes
7474
-------------
7575

76+
### Next Release
77+
* Avoid warning in `plot_trajectories`
78+
7679
### Version 1.4.2
7780
* Fix "lightgray" error in `plot_trend`
7881
* Address pygam incompatibility with newer scipy versions (automatic skip in tests, user warnings)

src/palantir/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ def plot_trajectories(
24372437
ax.scatter(
24382438
umap[branch_mask, 0],
24392439
umap[branch_mask, 1],
2440-
c=colors_mapping[branch],
2440+
color=colors_mapping[branch],
24412441
label=f"Branch {branch}",
24422442
**scatter_kwargs,
24432443
)

0 commit comments

Comments
 (0)