import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = "Arial"
plt.rcParams["figure.figsize"] = (3, 3)
plt.rcParams['font.size'] = 12sc.pl.umap(adata_concat, color=['batch_name', 'Ground Truth', 'mclust'], ncols=3, wspace=0.5, show=True)
结果如下
解决办法
import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = 'DejaVu Sans'
plt.rcParams["figure.figsize"] = (3, 3)
plt.rcParams['font.size'] = 12sc.pl.umap(adata_concat, color=['batch_name', 'Ground Truth', 'mclust'], ncols=3, wspace=0.5, show=True)