Skip to content

Commit 094613b

Browse files
Update server.R
fix clustering plot
1 parent 60dbbf1 commit 094613b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/server.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@ server <- function(input, output, session) {
297297
output$clustPlot <- renderPlotly({
298298
if (appData$show_plot & !is.null(appData$clust)) {
299299
show_spinner()
300-
plotClusters(appData$clust, k = input$num_cluster)
300+
p <- plotClusters(appData$clust, k = input$num_cluster)
301301
hide_spinner()
302+
return(p)
302303
}
303304
})
304305

0 commit comments

Comments
 (0)