Skip to content
Permalink
Browse files

Minor plot fixes

  • Loading branch information...
Manu Setty
Manu Setty committed Aug 22, 2019
1 parent ad3c378 commit 73aa8fd54f908f14a7d3e0e5e69b842153495d5c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/palantir/plot.py
@@ -258,8 +258,8 @@ def plot_gene_expression(data, tsne, genes, plot_scale=False,
for g, ax in zip(genes, fig):
# Data
c = data.loc[cells, g]
vmin = np.percentile(c, percentile)
vmax = np.percentile(c, 100 - percentile)
vmin = np.percentile(c[~np.isnan(c)], percentile)
vmax = np.percentile(c[~np.isnan(c)], 100 - percentile)

ax.scatter(tsne['x'], tsne['y'], s=3, color='lightgrey')
ax.scatter(tsne.loc[cells, 'x'], tsne.loc[cells, 'y'], s=3,

0 comments on commit 73aa8fd

Please sign in to comment.
You can’t perform that action at this time.