From a193e014a4f98ff2269fcfde5c0f62b8e237af53 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Wed, 7 Aug 2024 14:22:51 -0400 Subject: [PATCH] fix(plots): use civides in plot posterior time Signed-off-by: Cameron Smith --- src/pyrovelocity/plots/_time.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pyrovelocity/plots/_time.py b/src/pyrovelocity/plots/_time.py index bda1d66d7..a00bb9086 100644 --- a/src/pyrovelocity/plots/_time.py +++ b/src/pyrovelocity/plots/_time.py @@ -11,9 +11,7 @@ from matplotlib.figure import FigureBase from scipy.stats import spearmanr -from pyrovelocity.plots._common import set_colorbar -from pyrovelocity.plots._common import set_font_size - +from pyrovelocity.plots._common import set_colorbar, set_font_size __all__ = [ "plot_posterior_time", @@ -53,7 +51,7 @@ def plot_posterior_time( s=s, alpha=0.4, c=adata.obs["cell_time"], - cmap="inferno", + cmap="cividis", linewidth=0, ) set_colorbar(im, ax, labelsize=5, fig=fig, position=position)