Add Phil Elson's percentage histogram example #1149

merged 2 commits into from Aug 28, 2012

3 participants

Matplotlib Developers member

Addresses issue #320. The example is @pelson's, I just added some comments. Also, Gaussians look pretty.

Matplotlib Developers member

Seems fine. Did you look into the potential of using a scale? I've never done it that way, but it seems that (in my head at least) that would be a viable solution too.

I'm happy enough with this approach though. +1

Matplotlib Developers member

I did not. I thought yours was good enough! :)

Matplotlib Developers member

It might be slightly better if the formatter added a percent symbol at the end, but otherwise, I think this is good to go.

Milestoning this to 1.2.x since #320 is also.

@dmcdougall dmcdougall Add a percent symbol to tick labels
Got to be careful when latex is involved.
Matplotlib Developers member

So yeah, it's a bit more fiddly to use the percent symbol with latex.

@mdboom mdboom merged commit 47a61d7 into matplotlib:master Aug 28, 2012
@mdboom mdboom referenced this pull request Aug 28, 2012

hist plot in percent #320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment