{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/807","repository_url":"https://api.github.com/repos/ropensci/plotly","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/807/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/807/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/807/events","html_url":"https://github.com/ropensci/plotly/issues/807","id":191129632,"number":807,"title":"ggplotly conversion of dendextend ggplot","user":{"login":"jrowen","id":1530030,"avatar_url":"https://avatars.githubusercontent.com/u/1530030?v=3","gravatar_id":"","url":"https://api.github.com/users/jrowen","html_url":"https://github.com/jrowen","followers_url":"https://api.github.com/users/jrowen/followers","following_url":"https://api.github.com/users/jrowen/following{/other_user}","gists_url":"https://api.github.com/users/jrowen/gists{/gist_id}","starred_url":"https://api.github.com/users/jrowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrowen/subscriptions","organizations_url":"https://api.github.com/users/jrowen/orgs","repos_url":"https://api.github.com/users/jrowen/repos","events_url":"https://api.github.com/users/jrowen/events{/privacy}","received_events_url":"https://api.github.com/users/jrowen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-22T21:32:01Z","updated_at":"2016-11-30T14:03:21Z","closed_at":"2016-11-30T14:03:21Z","body":"I noticed a few differences when converting a ggplot created via dendextend to a plotly plot.  The text alignment is lost (should remain to the right of the marker) and the legend re-appears.\r\n```\r\nlibrary(ggplot2)\r\nlibrary(plotly)\r\nlibrary(dendextend)\r\n\r\ndend <- iris[1:30,-5] %>% dist %>% hclust %>% as.dendrogram %>%\r\n  set(\"branches_k_color\", k=3) %>% set(\"branches_lwd\", c(1.5,1,1.5)) %>%\r\n  set(\"branches_lty\", c(1,1,3,1,1,2)) %>%\r\n  set(\"labels_colors\") %>% set(\"labels_cex\", c(.9,1.2)) %>% \r\n  set(\"nodes_pch\", 19) %>% set(\"nodes_col\", c(\"orange\", \"black\", \"plum\", NA))\r\n\r\nggd1 <- as.ggdend(dend)\r\n\r\np = ggplot(ggd1, horiz = TRUE, theme = NULL)\r\np\r\n\r\nggplotly(p)\r\n```"},"comment":{"url":"https://api.github.com/repos/ropensci/plotly/issues/comments/263880660","html_url":"https://github.com/ropensci/plotly/issues/807#issuecomment-263880660","issue_url":"https://api.github.com/repos/ropensci/plotly/issues/807","id":263880660,"user":{"login":"jrowen","id":1530030,"avatar_url":"https://avatars.githubusercontent.com/u/1530030?v=3","gravatar_id":"","url":"https://api.github.com/users/jrowen","html_url":"https://github.com/jrowen","followers_url":"https://api.github.com/users/jrowen/followers","following_url":"https://api.github.com/users/jrowen/following{/other_user}","gists_url":"https://api.github.com/users/jrowen/gists{/gist_id}","starred_url":"https://api.github.com/users/jrowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrowen/subscriptions","organizations_url":"https://api.github.com/users/jrowen/orgs","repos_url":"https://api.github.com/users/jrowen/repos","events_url":"https://api.github.com/users/jrowen/events{/privacy}","received_events_url":"https://api.github.com/users/jrowen/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T14:03:21Z","updated_at":"2016-11-30T14:03:21Z","body":"Moved to pull request #818"}}
{"actor":{"display_login":"jrowen"}}