My setup code:
import scanpy as sc
import easy_vitessce as ev
adata = sc.read_h5ad("path_to_my_file.h5ad")
ev.configure_plots(
enable_plots=["embedding", "violin", "spatialdata-plot", "umap"]
)
AnnData preview:
AnnData object with n_obs × n_vars = 339751 × 458
obs: 'dataset', ...
var: 'Gene', 'Ensembl.ID', 'Probesets', 'category', 'highly_variable'
uns: 'log1p', 'neighbors'
obsm: 'X_pca', 'X_spatial', 'X_umap'
obsp: 'connectivities', 'distances'
Problematic code:
sc.pl.pca(adata, color=["dataset"])
When I run this, the PCA plot fails with:
TypeError: Failed to fetch
There’s no additional traceback or details.
The strange part is:
- The same error happens on a different h5ad file.
- Using sc.pl.pca on its own (outside the Vitessce configuration) works fine.
Has anyone encountered this or knows why sc.pl.pca() would trigger a frontend Failed to fetch error after calling ev.configure_plots?
My setup code:
AnnData preview:
Problematic code:
When I run this, the PCA plot fails with:
TypeError: Failed to fetch
There’s no additional traceback or details.
The strange part is:
Has anyone encountered this or knows why sc.pl.pca() would trigger a frontend Failed to fetch error after calling ev.configure_plots?