Skip to content

Commit

Permalink
Fixed #70, part 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
enblacar committed Aug 20, 2024
1 parent 30f6bcc commit 1460f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/do_DimPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ do_DimPlot <- function(sample,
for (plot.use in seq(1, num.plots)){
for (layer.use in seq(1, length(p[[plot.use]]$layers))){
if (sum(stringr::str_detect(class(p[[plot.use]]$layers[[layer.use]]$geom), "GeomText|GeomLabel"))){
p[[plot.use]]$layers[[layer.use]]$aes_params$family <- font.family
p[[plot.use]]$layers[[layer.use]]$aes_params$family <- font.type
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion R/do_FeaturePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ do_FeaturePlot <- function(sample,
for (plot.use in seq(1, num.plots)){
for (layer.use in seq(1, length(p[[plot.use]]$layers))){
if (sum(stringr::str_detect(class(p[[plot.use]]$layers[[layer.use]]$geom), "GeomText|GeomLabel"))){
p[[plot.use]]$layers[[layer.use]]$aes_params$family <- font.family
p[[plot.use]]$layers[[layer.use]]$aes_params$family <- font.type
}
}
}
Expand Down

0 comments on commit 1460f59

Please sign in to comment.