From dcf1fa8168785cc522e933b925601671ba5f6a3d Mon Sep 17 00:00:00 2001 From: George Chen <72078254+jiajic@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:49:28 -0400 Subject: [PATCH] fix: coord_fix_ratio passing - fixes [#972](https://github.com/drieslab/Giotto/issues/972) by kaizen89 --- NEWS.md | 3 +++ R/vis_spatial_gg.R | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 1a23ad2..128e4f7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,9 @@ - `gpsparam()` for generating an object containing plot saving parameters - `cowplot::plot_grid()` re-exported +## bug fixes +- fix `coord_fix_ratio` passing in `spatFeatPlot2D()` [#972](https://github.com/drieslab/Giotto/issues/972) by kaizen89 + # GiottoVisuals 0.2.4 (2024/07/26) ## enhancements diff --git a/R/vis_spatial_gg.R b/R/vis_spatial_gg.R index c011c02..4a4a73f 100644 --- a/R/vis_spatial_gg.R +++ b/R/vis_spatial_gg.R @@ -3011,8 +3011,8 @@ spatFeatPlot2D <- function(gobject, # [grid aes] "show_grid", "grid_color", "spatial_grid_name", # [figure params] - "show_legend", "legend_text", "background_color", "axis_text", - "axis_title", + "coord_fix_ratio", "show_legend", "legend_text", "background_color", + "axis_text", "axis_title", "cow_n_col", "cow_rel_h", "cow_rel_w", "cow_align", # [return params] "show_plot", "return_plot", "save_plot", "save_param",