{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/1118","repository_url":"https://api.github.com/repos/ropensci/plotly","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/1118/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/1118/events","html_url":"https://github.com/ropensci/plotly/issues/1118","id":257846496,"number":1118,"title":"Option to remove the white shadow in sankey type diagram","user":{"login":"happyshows","id":3208181,"avatar_url":"https://avatars3.githubusercontent.com/u/3208181?v=4","gravatar_id":"","url":"https://api.github.com/users/happyshows","html_url":"https://github.com/happyshows","followers_url":"https://api.github.com/users/happyshows/followers","following_url":"https://api.github.com/users/happyshows/following{/other_user}","gists_url":"https://api.github.com/users/happyshows/gists{/gist_id}","starred_url":"https://api.github.com/users/happyshows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyshows/subscriptions","organizations_url":"https://api.github.com/users/happyshows/orgs","repos_url":"https://api.github.com/users/happyshows/repos","events_url":"https://api.github.com/users/happyshows/events{/privacy}","received_events_url":"https://api.github.com/users/happyshows/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-14T20:28:24Z","updated_at":"2018-05-11T12:00:25Z","closed_at":null,"author_association":"NONE","body":"Brief description of the problem\r\nHi I need to have a cleaner version of sankey diagram but couldn't find the option in API doc.\r\n\r\nThe dom class name is text-shadow, but in the [doc](https://plot.ly/r/reference/#Layout_and_layout_style_objects)\r\nThere's no definition to include/exclude text shadow.\r\n\r\n![image](https://user-images.githubusercontent.com/3208181/30454183-07fe20f0-9961-11e7-9f7c-6e57ba1d9ae9.png)\r\n\r\n```\r\n  plot_ly(\r\n    type = \"sankey\",\r\n    domain = c(\r\n      x =  c(0,1),\r\n      y =  c(0,1)\r\n    ),\r\n    orientation = \"h\",\r\n    node = node,\r\n    link = link,\r\n    width = 2000,\r\n    height = 3600) %>% \r\n  layout(\r\n    title = \"TBD\",\r\n    font = list(\r\n      size = 10,\r\n      color = 'white'\r\n    ),\r\n    plot_bgcolor = 'black',\r\n    paper_bgcolor = 'black'\r\n)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ropensci/plotly/issues/comments/388343711","html_url":"https://github.com/ropensci/plotly/issues/1118#issuecomment-388343711","issue_url":"https://api.github.com/repos/ropensci/plotly/issues/1118","id":388343711,"user":{"login":"sharq1","id":1241239,"avatar_url":"https://avatars2.githubusercontent.com/u/1241239?v=4","gravatar_id":"","url":"https://api.github.com/users/sharq1","html_url":"https://github.com/sharq1","followers_url":"https://api.github.com/users/sharq1/followers","following_url":"https://api.github.com/users/sharq1/following{/other_user}","gists_url":"https://api.github.com/users/sharq1/gists{/gist_id}","starred_url":"https://api.github.com/users/sharq1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharq1/subscriptions","organizations_url":"https://api.github.com/users/sharq1/orgs","repos_url":"https://api.github.com/users/sharq1/repos","events_url":"https://api.github.com/users/sharq1/events{/privacy}","received_events_url":"https://api.github.com/users/sharq1/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T12:00:25Z","updated_at":"2018-05-11T12:00:25Z","author_association":"NONE","body":"If you don't mind overriding styles with CSS, then here's the way to go:\r\n```css\r\n.sankey {\r\n  .node-label-text-path {\r\n    text-shadow: none;\r\n    fill: #fff !important;\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"sharq1"}}