Skip to content

Commit

Permalink
Update server.R
Browse files Browse the repository at this point in the history
fix clustering plot
  • Loading branch information
thomas-enzlein authored Jul 2, 2024
1 parent 60dbbf1 commit 094613b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ server <- function(input, output, session) {
output$clustPlot <- renderPlotly({
if (appData$show_plot & !is.null(appData$clust)) {
show_spinner()
plotClusters(appData$clust, k = input$num_cluster)
p <- plotClusters(appData$clust, k = input$num_cluster)
hide_spinner()
return(p)
}
})

Expand Down

0 comments on commit 094613b

Please sign in to comment.