Re: [matplotlib-devel] Histogram normalization and overflow bins

2015-03-07 Thread Thomas Caswell
Paul, Note that by zoom the op means they are changing the bins, not actual zooming(by just changing the x axis). I was going to say we deal with normalization by delegating to numpy, but we actually handle it internally (with a note that when we drop np 1.5 to make numpy do it). I think the

[matplotlib-devel] Histogram normalization and overflow bins

2015-03-07 Thread Tomo Lazovich
Hello matplotlib developers, I'm not sure if this is the right mailing list for this question, so please re-direct me if it is not. I am wondering whether it is possible to have a histogram in pyplot normalized to the total length of the list input, rather than just the bins showing on the plot

Re: [matplotlib-devel] Kivy backend

2015-03-07 Thread Thomas Caswell
Achyut, Thank your for your interest, mpl on touch devices sounds super cool! The easiest course is probably to develop a backend modeled after the {qt,wx,gtk}Agg backends which embed an Agg backend into the gui framework of choice. In those cases we rely on Agg to handle the mpl specific

Re: [matplotlib-devel] Histogram normalization and overflow bins

2015-03-07 Thread Paul Hobson
IMO, this seems like a bug. I would expect bars to change height with zoom/limit levels.  -p — Sent from Mailbox On Sat, Mar 7, 2015 at 4:20 PM, Tomo Lazovich lazov...@gmail.com wrote: Hello matplotlib developers, I'm not sure if this is the right mailing list for this question, so please

[matplotlib-devel] Kivy backend

2015-03-07 Thread Achyut Rastogi
Hello , I am a novice gsoc aspirant and I want to write a backend for kivy, I read some of the other conversations on the mailing list and I know about the template you guys provide but I am having trouble getting started, can you please help me get up-to speed. I would be great help if you could

[matplotlib-devel] First release of an object oriented style system

2015-03-07 Thread Drain, Theodore R (392P)
Last year we implemented an object oriented plotting style system for our users and I was able to convince our management that we should open source it. You can find it here: https://github.com/nasa/mplStyle Many (most?) of the existing MPL style systems seem to be built around RC parameters

Re: [matplotlib-devel] Kivy backend

2015-03-07 Thread Achyut Rastogi
Thank you Tom I read the qt backend and the first comment said about rendering from qt to agg, thank for the explaination, so if I don't understand some parts of the backend is this where I ask. On 5:47AM, Sun, Mar 8, 2015 Thomas Caswell tcasw...@gmail.com wrote: Achyut, Thank your for your

Re: [matplotlib-devel] Histogram normalization and overflow bins

2015-03-07 Thread Tomo Lazovich
Sorry for the spam, but I just wanted to say that I now understand that I should be using plt.xlim to zoom in on the x-axis rather than changing the bins. When I zoom in with that, the bin height is indeed constant as expected. On Sat, Mar 7, 2015 at 8:00 PM, Tomo Lazovich lazov...@gmail.com

Re: [matplotlib-devel] Histogram normalization and overflow bins

2015-03-07 Thread Tomo Lazovich
Thanks for the suggestion...I will see how numpy handles this. Sorry for not being clearer earlier. Tom is right that by zooming I meant changing the bins so that they covered a smaller range. Is there a better way of zooming in on an axis so that I don't have this issue? Thanks! Tomo On Sat,