{"comment":{"user":{"id":227097,"login":"kohske","url":"https://api.github.com/users/kohske","avatar_url":"https://secure.gravatar.com/avatar/2ae1f35a67165c8303b3b5f55c27071f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2ae1f35a67165c8303b3b5f55c27071f"},"created_at":"2011-12-16T18:26:05Z","path":null,"updated_at":"2011-12-16T18:26:05Z","id":801659,"position":null,"html_url":"https://github.com/hadley/scales/commit/947f97ce1a#commitcomment-801659","body":"I think this change induce confusion.\r\n\r\n```\r\n> log_breaks(base = 10)(1:1000)\r\n[1]    0  200  400  600  800 1000\r\n> log_breaks(base = 2)(1:1000)\r\n[1]   1   8  64 512\r\n```\r\n\r\nbut I expect like this:\r\n> 10^pretty(log10(1:1000), 5)\r\n[1]    1.000000    3.162278   10.000000   31.622777  100.000000  316.227766 1000.000000\r\n\r\nlog10 with [1, 1000] makes break equally-spaced n original (untransformed) data, while log2 with [1, 1000] in transformed data.\r\nThis is because (log10(1000) - log10(1)) / n < 1, but in this case, the threshold is not appropriate.\r\n\r\nI'm not sure when this change is useful.\r\n","url":"https://api.github.com/repos/hadley/scales/comments/801659","line":null,"commit_id":"947f97ce1aef3233990d968b406348aa44763de2"}}