Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge branch 'hotfixes' into master.
Browse files Browse the repository at this point in the history
Former-commit-id: 5f2bfcc
  • Loading branch information
dweemx committed Nov 24, 2019
2 parents 038b09f + 6d2d684 commit 77e716c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scenic/bin/reports/scenic_report.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@
"outputs": [],
"source": [
"plt.rcParams.update({'font.size':10})\n",
"fig, (axs) = plt.subplots(int(len(dr)/2),2, figsize=(20,10), dpi=100 )\n",
"fig, (axs) = plt.subplots(ceil(len(dr)/2),2, figsize=(10,10), dpi=100 )\n",
"for i in range(0, len(dr)):\n",
" drplot( dr[i], colorlab=adata.obs['louvain'], ax=axs[i%2][int(i/2)], palette='tab20', s=2, title=dr_names[i].replace(\"HVG\", \"Highly variable genes\").replace(\"_\", \" \") )\n",
"plt.legend(loc='right', bbox_to_anchor=(1.15, 0.5), ncol=1, markerscale=2, fontsize='x-large', frameon=False, title=\"Louvain\\nclusters\")\n",
" drplot( dr[i], colorlab=adata.obs['louvain'], ax=axs[int(i/2)][i%2], palette='tab20', s=2, title=dr_names[i].replace(\"HVG\", \"Highly variable genes\").replace(\"_\", \" \") )\n",
"axs[ceil(len(dr)/2)-1][(len(dr)-1)%2].legend(loc='right', bbox_to_anchor=(1.15, 0.5), ncol=1, markerscale=2, fontsize='x-large', frameon=False, title=\"Louvain\\nclusters\")\n",
"plt.tight_layout()"
]
},
Expand Down

0 comments on commit 77e716c

Please sign in to comment.