From be8f4c330a4661094eb13fa6848dba5c2cc48744 Mon Sep 17 00:00:00 2001 From: Muskan Hashim Date: Tue, 1 Sep 2026 06:11:39 +0200 Subject: [PATCH] Fix the alignment in the HoloViews backend diagram The top code box and the setup box below it were different widths and were not centred on each other, and the setup label sat beside its box rather than above it. Each backend caption was two separate text elements, which wrapped "Matplotlib: static, publication" onto a second line while the other two stayed on one. Each caption is now a single centred element. --- static/img/blog/scanpy_holoviews_overview.svg | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/static/img/blog/scanpy_holoviews_overview.svg b/static/img/blog/scanpy_holoviews_overview.svg index 6943e60..ee6b415 100644 --- a/static/img/blog/scanpy_holoviews_overview.svg +++ b/static/img/blog/scanpy_holoviews_overview.svg @@ -1,15 +1,15 @@ - -sc.pl.umap(adata, color=A.obs["bulk_labels"]) + +sc.pl.umap(adata, color=A.obs["bulk_labels"]) -Setup (optional): - -sc.settings.preset = sc.Preset.ScanpyV2Preview ; A = sc.pl.hv_init('bokeh') +Setup (optional): + +sc.settings.preset = sc.Preset.ScanpyV2Preview ; A = sc.pl.hv_init('bokeh') - - + + H @@ -42,15 +42,12 @@ obs["bulk_labels"] CD19+ B -Bokeh: -interactive +Bokeh: interactive 6−64−42−200−22−44−66 -Matplotlib: -static, -publication +Matplotlib: static, publication @@ -64,10 +61,9 @@ y x -Plotly: -3D +Plotly: 3D H -One high-level representation. Multiple rendering backends. Same data, different experience. +One high-level representation. Multiple rendering backends. Same data, different experience. \ No newline at end of file