Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-06 Thread Alex Rogozhnikov
Thanks for comments, I've fixed the named issues. Code is python2&3 compatible, I aliased numpy and used better inversion. Specially thanks for pointing at histogram equalization - I've added example for images. Probably some other 'visual' examples would help - I'll try to invent something to

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-02 Thread Kiko
2015-10-02 9:48 GMT+02:00 Kiko : > > > 2015-10-02 9:38 GMT+02:00 Alex Rogozhnikov : > >> I would suggest >>> >>> %matplotlib notebook >>> >>> It will still have to a nice png, but you get an interactive figure when >>> it is live. >>> >> >> Amazing, thanks. I was using mpld3 for this. >> (for some

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-02 Thread Kiko
2015-10-02 9:38 GMT+02:00 Alex Rogozhnikov : > I would suggest >> >> %matplotlib notebook >> >> It will still have to a nice png, but you get an interactive figure when >> it is live. >> > > Amazing, thanks. I was using mpld3 for this. > (for some strange reason I need to put %matplotlib notebook

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-02 Thread Alex Rogozhnikov
I would suggest %matplotlib notebook It will still have to a nice png, but you get an interactive figure when it is live. Amazing, thanks. I was using mpld3 for this. (for some strange reason I need to put %matplotlib notebook before each plot) The recommendation of inverting a permutation

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-01 Thread Juan Nunez-Iglesias
It will still have to a nice png, but you get an interactive figure when it is live. You just blew my mind. =D +1 to Python 3 and aliasing numpy as np.___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/list

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-01 Thread Thomas Caswell
I would suggest %matplotlib notebook It will still have to a nice png, but you get an interactive figure when it is live. I agree that making the example code Python3 is critical. Tom On Thu, Oct 1, 2015 at 8:05 PM Jaime Fernández del Río wrote: > On Thu, Oct 1, 2015 at 11:46 AM, Alex Rogozh

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-01 Thread Jaime Fernández del Río
On Thu, Oct 1, 2015 at 11:46 AM, Alex Rogozhnikov < alex.rogozhni...@yandex.ru> wrote: > Hi, I have written some numpy tips and tricks I am using, which may be > interesting to you. > This is quite long reading, so I've splitted it into two parts: > > http://arogozhnikov.github.io/2015/09/29/Numpy

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-01 Thread Stefan van der Walt
On 2015-10-01 11:46:59, Alex Rogozhnikov wrote: > Hi, I have written some numpy tips and tricks I am using, which may be > interesting to you. > This is quite long reading, so I've splitted it into two parts: > > http://arogozhnikov.github.io/2015/09/29/NumpyTipsAndTricks1.html > http://arogozhni