Closed welyt closed 1 year ago
df_bar = pd.DataFrame(np.random.uniform(0, 10, (10, 3)), columns=['TMB1', 'TMB2', 'TMB3']) print(df_bar) plt.figure(figsize=(6, 6)) col_ha = HeatmapAnnotation(bar=anno_barplot(df_bar,legend=True), plot=True,legend=True,legend_gap=3, legend_width=20) plt.show()
df_bar = pd.DataFrame(np.random.uniform(0, 10, (10, 3)), columns=['TMB1', 'TMB2', 'TMB3']) print(df_bar) plt.figure(figsize=(6, 6)) col_ha = HeatmapAnnotation(bar=anno_barplot(df_bar,legend=True), plot=True,legend=True,legend_gap=3, legend_width=20) plt.show()