Skip to content

Commit

Permalink
Fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
millerh1 committed Jun 20, 2022
1 parent 8a5cbd8 commit 06693cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rlbase/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ server <- function(input, output, session) {
dataNow <- datList[[dat]]
plot_ly(type = "pie") %>%
add_pie(data=dataNow, labels = dataNow[,dat,drop=T], values = ~n, textinfo='label+value',
marker = list(colors = heatData$cat_cols[[tolower(dat)]][dataNow[,dat,drop=T]]),
marker = list(colors = heatData$cat_cols[[dat]][dataNow[,dat,drop=T]]),
insidetextorientation='horizontal', hole=.6, rotation=250) %>%
layout(showlegend = FALSE, title=list(text = dat, x=0.15), margin = list(l = 50, r = 50),
xaxis = list(showgrid = FALSE, zeroline = FALSE, showticklabels = FALSE),
Expand Down

0 comments on commit 06693cf

Please sign in to comment.