-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text does not appear in DarkTheme in FeaturePlot #1361
Comments
Hi Maria, This is happening because To get around this, pass baseplot <- FeaturePlot(object = decoder, features = features, reduction = 'tsne', pt.size = 0.1, combine = FALSE)
for (i in 1:length(x = baseplot) {
baseplot[[i]] <- baseplot[[i]] + DarkTheme()
}
# Can also use lapply
baseplot <- lapply(
X = baseplot,
FUN = function(p) {
return(p + DarkTheme())
}
)
CombinePlots(plots = baseplot, ncol = 2) |
Hi Paul, Thank you for the quick response. I tried both the methods but it gives me an error. Upon doing it with for loop:
Upon running the lapply method (I have always run into an error trying to run combinePlots, I'm not sure why):
|
Hi Maria, You need to rerun |
Oh, sorry I missed on that. |
The only problem remaining is that the cluster labels are still black |
@ondina-draia just submitted PR #5314 to add this parameter to Best, |
@samuel-marsh This is wonderful, thank you 😊 |
I tried applying dark theme onto my tSNE feature plot but it seems that font might still be black in color and so, I'm unable to see it with the dark background.
Is there any fix for this?
Code:
baseplot <- FeaturePlot(object=decoder, features= features, reduction='tsne', pt.size=0.1)
baseplot + DarkTheme()
The text was updated successfully, but these errors were encountered: