{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/216","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/216/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/216/events","html_url":"https://github.com/plotly/plotly.js/issues/216","id":128768671,"number":216,"title":"SVG container DIV much larger than actual graph","user":{"login":"pascalpas","id":8132276,"avatar_url":"https://avatars.githubusercontent.com/u/8132276?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalpas","html_url":"https://github.com/pascalpas","followers_url":"https://api.github.com/users/pascalpas/followers","following_url":"https://api.github.com/users/pascalpas/following{/other_user}","gists_url":"https://api.github.com/users/pascalpas/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalpas/subscriptions","organizations_url":"https://api.github.com/users/pascalpas/orgs","repos_url":"https://api.github.com/users/pascalpas/repos","events_url":"https://api.github.com/users/pascalpas/events{/privacy}","received_events_url":"https://api.github.com/users/pascalpas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-01-26T09:22:47Z","updated_at":"2016-09-21T21:23:11Z","closed_at":"2016-01-26T23:26:22Z","body":"There seems to be a lot of unneeded whitespace for some of my graphs (but not all), where the SVG container is the actual specified height, but the graph itself is much smaller.\r\n![schermafbeelding 2016-01-26 om 10 13 29](https://cloud.githubusercontent.com/assets/8132276/12576830/bb252e0c-c416-11e5-9b5e-7fc752fe7594.png)\r\n\r\n\r\nWhy doesn't it fill the specified height? "},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/248747169","html_url":"https://github.com/plotly/plotly.js/issues/216#issuecomment-248747169","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/216","id":248747169,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T21:23:11Z","updated_at":"2016-09-21T21:23:11Z","body":"> extra margins can then be left to CSS rather than a plotly configuration.\r\n\r\nplotly.js isn't meant to be used with CSS. The own source of truth is the `data` / `layout` JSON-serializable schema.\r\n\r\n\r\n> It should know whether or not there are axis titles and how large the area needs to accommodate them, right?\r\n\r\nAgree. We could do a better job in our auto-margin algorithm so that e.g. it considers visible axis titles to determine the needed padding. That said, it's not obvious to me how _fix_ in a backward compatible way.\r\n"}}
{"actor":{"display_login":"etpinard"}}