{"action":"opened","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/391","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/391/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/391/events","html_url":"https://github.com/ropensci/plotly/issues/391","id":126473046,"number":391,"title":"Tick label formatting doesn't work with ggplot `scale_y_continuous`","user":{"login":"jseppanen","id":83203,"avatar_url":"https://avatars.githubusercontent.com/u/83203?v=3","gravatar_id":"","url":"https://api.github.com/users/jseppanen","html_url":"https://github.com/jseppanen","followers_url":"https://api.github.com/users/jseppanen/followers","following_url":"https://api.github.com/users/jseppanen/following{/other_user}","gists_url":"https://api.github.com/users/jseppanen/gists{/gist_id}","starred_url":"https://api.github.com/users/jseppanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseppanen/subscriptions","organizations_url":"https://api.github.com/users/jseppanen/orgs","repos_url":"https://api.github.com/users/jseppanen/repos","events_url":"https://api.github.com/users/jseppanen/events{/privacy}","received_events_url":"https://api.github.com/users/jseppanen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T17:39:31Z","updated_at":"2016-01-13T17:39:31Z","closed_at":null,"body":"When making a plot that uses either of:\r\n*    `scale_y_continuous(label=percent)` – format Y axis ticks as dollar values\r\n*    `scale_y_continuous(label=dollar)` – format Y axis ticks as percentages (scaling 1.00 into 100%),\r\n\r\nthe axis label formatting doesn't take any effect in the plotly plot, although it works as intended in ggplot2 plots (on screen or when saved to png files).\r\n\r\nExample R code:\r\n\r\n```\r\nlibrary(ggplot2)\r\nlibrary(scales)\r\nlibrary(plotly)\r\n\r\n...\r\n\r\n  p <- ggplot(d, aes(date, revenue)) +\r\n    geom_line() +\r\n    scale_y_continuous(label=dollar)\r\n  t <- plotly_POST(p)\r\n```"}}