Skip to content

Commit

Permalink
Merge pull request #71 from CRI-iAtlas/fix_barplot
Browse files Browse the repository at this point in the history
Fix barplot legend, histogram data download
  • Loading branch information
heimannch authored Aug 5, 2024
2 parents 351864f + 838845e commit bd6e98e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.Rhistory
.RData
.Ruserdata
.DS_Store
2 changes: 1 addition & 1 deletion R/distributions_plot_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ distributions_plot_ui <- function(
shiny::selectInput(
ns("plot_type_choice"),
"Select or Search for Plot Type",
choices = c("Violin", "Box")
choices = c("Box", "Violin")
)
),
shiny::column(
Expand Down
2 changes: 1 addition & 1 deletion R/drilldown_histogram_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ drilldown_histogram_server <- function(

plotly_server(
"histogram",
plot_data = histogram_data()
plot_data = histogram_data
)

return(histogram_data)
Expand Down
2 changes: 1 addition & 1 deletion R/plotly_bar.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ plotly_bar <- function(
hoverinfo = "text"
) %>%
plotly::layout(
legend = list(orientation = "h", x = 0, y = 1),
legend = list(orientation = "h", x = 0, yref = "paper", y = 1.5),
title = title,
xaxis = list(title = xlab),
yaxis = list(title = ylab)
Expand Down

0 comments on commit bd6e98e

Please sign in to comment.