{"action":"created","issue":{"url":"https://api.github.com/repos/mtennekes/tmap/issues/26","labels_url":"https://api.github.com/repos/mtennekes/tmap/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mtennekes/tmap/issues/26/comments","events_url":"https://api.github.com/repos/mtennekes/tmap/issues/26/events","html_url":"https://github.com/mtennekes/tmap/issues/26","id":99660620,"number":26,"title":"Pass dataPrecision to classIntervals to control decimals in legend breaks?","user":{"login":"mbacou","id":260325,"avatar_url":"https://avatars.githubusercontent.com/u/260325?v=3","gravatar_id":"","url":"https://api.github.com/users/mbacou","html_url":"https://github.com/mbacou","followers_url":"https://api.github.com/users/mbacou/followers","following_url":"https://api.github.com/users/mbacou/following{/other_user}","gists_url":"https://api.github.com/users/mbacou/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacou/subscriptions","organizations_url":"https://api.github.com/users/mbacou/orgs","repos_url":"https://api.github.com/users/mbacou/repos","events_url":"https://api.github.com/users/mbacou/events{/privacy}","received_events_url":"https://api.github.com/users/mbacou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-07T14:42:11Z","updated_at":"2015-08-17T17:30:01Z","closed_at":"2015-08-17T17:30:01Z","body":"Hi, just wondering if there is a way to control the number of significant and displayed decimals in legend breaks (without needing to pass breaks manually). Would passing dataPrecision argument to classIntervals() be an option?\r\nThx for a great package."},"comment":{"url":"https://api.github.com/repos/mtennekes/tmap/issues/comments/131897226","html_url":"https://github.com/mtennekes/tmap/issues/26#issuecomment-131897226","issue_url":"https://api.github.com/repos/mtennekes/tmap/issues/26","id":131897226,"user":{"login":"mbacou","id":260325,"avatar_url":"https://avatars.githubusercontent.com/u/260325?v=3","gravatar_id":"","url":"https://api.github.com/users/mbacou","html_url":"https://github.com/mbacou","followers_url":"https://api.github.com/users/mbacou/followers","following_url":"https://api.github.com/users/mbacou/following{/other_user}","gists_url":"https://api.github.com/users/mbacou/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacou/subscriptions","organizations_url":"https://api.github.com/users/mbacou/orgs","repos_url":"https://api.github.com/users/mbacou/repos","events_url":"https://api.github.com/users/mbacou/events{/privacy}","received_events_url":"https://api.github.com/users/mbacou/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T17:30:01Z","updated_at":"2015-08-17T17:30:01Z","body":"Thanks, I had overlooked the `tm_layout` arguments. These will work in most cases. You're right that these should ideally be passed to the layer function instead. "}}