Hi all,
I want to plot my LR interaction using the following code:
st.pl.lr_plot(
adata,
"FN1_SDC1",
use_label='celltype',
show_image=False,
outer_size_prop=1,
outer_mode=None,
pt_scale=30,
sig_spots= True,
)
Although I have my celltype_colors in adata.uns[celltype_colors], it does not use them for the plot. Further, when plotting I get the following warning:
ImplicitModificationWarning: Trying to modify attribute ._uns of view, initializing view as actual. self.adata[0].uns[self.use_label + "_colors"] = []
Hi all,
I want to plot my LR interaction using the following code:
st.pl.lr_plot(
adata,
"FN1_SDC1",
use_label='celltype',
show_image=False,
outer_size_prop=1,
outer_mode=None,
pt_scale=30,
sig_spots= True,
)
Although I have my celltype_colors in adata.uns[celltype_colors], it does not use them for the plot. Further, when plotting I get the following warning:
ImplicitModificationWarning: Trying to modify attribute ._uns of view, initializing view as actual. self.adata[0].uns[self.use_label + "_colors"] = []