{"action":"created","issue":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/223","repository_url":"https://api.github.com/repos/tbreloff/Plots.jl","labels_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/223/comments","events_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/223/events","html_url":"https://github.com/tbreloff/Plots.jl/issues/223","id":153187012,"number":223,"title":"Bar-style histogram not great in some situations","user":{"login":"oschulz","id":546147,"avatar_url":"https://avatars.githubusercontent.com/u/546147?v=3","gravatar_id":"","url":"https://api.github.com/users/oschulz","html_url":"https://github.com/oschulz","followers_url":"https://api.github.com/users/oschulz/followers","following_url":"https://api.github.com/users/oschulz/following{/other_user}","gists_url":"https://api.github.com/users/oschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/oschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschulz/subscriptions","organizations_url":"https://api.github.com/users/oschulz/orgs","repos_url":"https://api.github.com/users/oschulz/repos","events_url":"https://api.github.com/users/oschulz/events{/privacy}","received_events_url":"https://api.github.com/users/oschulz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-05T08:06:37Z","updated_at":"2016-05-05T08:24:32Z","closed_at":null,"body":"Currently, Plots.jl always uses `histtype = \"bar\"` (resp. `\"barstacked\"`) for PyPlot. This is Ok when drawing a single histogram with a small number of bins, or even when comparing two nicely separated histograms. However, with large number of bins, the \"bar\"-style looks very ugly, compared to \"stepfilled\", and when comparing similar histograms, \"step\" is really the only option to still see anything. Here's a comparison (using PyPlot directly, obviously):\r\n\r\nhttp://nbviewer.jupyter.org/gist/oschulz/f0beee3546df6a6758c46eec6a89ba50\r\n\r\nWould there be any way to gain access to these styles from Plots.jl, without getting too backend-specific? The `\"stepfilled\"` style shouldn't be a problem, as it seems to be the default style for Gadfly, and the only style for PlotlyJS. I don't know if they support a `\"step\"`-like style - but in my personal experience, this is the only viable style for many real-life plots (not as shiny, but way more expressive, scientifically)."},"comment":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/comments/217101991","html_url":"https://github.com/tbreloff/Plots.jl/issues/223#issuecomment-217101991","issue_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/223","id":217101991,"user":{"login":"oschulz","id":546147,"avatar_url":"https://avatars.githubusercontent.com/u/546147?v=3","gravatar_id":"","url":"https://api.github.com/users/oschulz","html_url":"https://github.com/oschulz","followers_url":"https://api.github.com/users/oschulz/followers","following_url":"https://api.github.com/users/oschulz/following{/other_user}","gists_url":"https://api.github.com/users/oschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/oschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschulz/subscriptions","organizations_url":"https://api.github.com/users/oschulz/orgs","repos_url":"https://api.github.com/users/oschulz/repos","events_url":"https://api.github.com/users/oschulz/events{/privacy}","received_events_url":"https://api.github.com/users/oschulz/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T08:24:32Z","updated_at":"2016-05-05T08:24:32Z","body":"API-wise, maybe the `linestyle`-argument could be used to switch between `\"bar\"` (e.g. `linestyle = :solid` or `linestyle = :bar`, as default) and `\"stepfilled\"`  (e.g. `linestyle = :step`)? Any switch to style `\"step\"` on `fillalpha = 0` or so?"}}