mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-25 19:37:23 +02:00
plots: Make chromosome plot static
This commit is contained in:
parent
57a0a8d0ab
commit
a3cc6a8796
1 changed files with 7 additions and 1 deletions
|
|
@ -587,7 +587,10 @@ plot_chromosomes <- function(ranking) {
|
|||
|
||||
row_figs <- c(row_figs, list(htmltools::div(
|
||||
style = glue::glue("width: {cell_width}%; height: {row_height}%"),
|
||||
plotly::plot_ly() |>
|
||||
plotly::plot_ly(
|
||||
width = 150,
|
||||
height = 150
|
||||
) |>
|
||||
plotly::add_lines(
|
||||
x = positions,
|
||||
y = scores,
|
||||
|
|
@ -632,6 +635,9 @@ plot_chromosomes <- function(ranking) {
|
|||
r = 0,
|
||||
t = 0
|
||||
)
|
||||
) |>
|
||||
plotly::config(
|
||||
staticPlot = TRUE
|
||||
)
|
||||
)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue