Re: [Matplotlib-users] mpl 1.3 xkcd

2013-10-17 Thread Matthias BUSSONNIER

 In the process, I also skimmed the 1.3 release notes. What's this? How
 was it that I missed the new xkcd style??? 

Did you know about 
http://matplotlib.org/xkcd/gallery.html
 
 I don't know who is responsible for your marketing, but they clearly
 need to blanket the world with press releases about this new
 functionality. This could be the killer app for matplotlib. 

It has been on frontage of nbviewer for quite some time though, 
and if you are interested on historical reason on how/when it
was created, I suggest you to read 

http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb
or 
http://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-in-matplotlib/

(highly advise to read jake blog in any case)
-- 
Matthias
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] XKCD style graphs?

2012-10-05 Thread Matthias BUSSONNIER

Le 4 oct. 2012 à 23:09, Juergen Hasch a écrit :

 Here is my take on it as an IPython notebook, based on Damon's code:
 http://nbviewer.ipython.org/3835181/
 
 I took the engineering approach and filtered the random function instead of 
 doing some fft/ifft magic.
 Also, X and Y of the functions are affected now, giving them a more natural 
 look in the slopes.
 
   Juergen

If anyone have time to make some examples and a right side thumbnail
I can make it as featured notebook in the front page of nbviewer.

You can even make a direct PR agains nbviewer and I would then just have 
to merge and deploy.

To be fair, notebook should also give some explanation of the code, 
link to this discussion, maybe show one original xkcd graph.

Please take your time, and if there is several submission,
we'll sort out how to choose the best(s).

-- 
Matthias

 
 
 Am 04.10.2012 18:09, schrieb Pierre Haessig:
 Le 04/10/2012 16:35, Pierre Haessig a écrit :
 So I think this code indeed resamples the rastered plot image on a
 shaken coordinate grid. I kind of understand that the noise on
 coordinates is spatially smoothed by a 10px Gaussian Point Spread
 Function (if I understand correctly...)
 I've implemented this processing in a tiny image_shake script.
 https://gist.github.com/3834536
 A nice occasion to learn how to use some scipy image processing functions...
 
 I've attached the before/after images because I didn't manage to put
 them in the Gist (it's not a plot image but gives the idea of line shaking).
 
 Now, I think it's unfortunately outside the frame of Fernando's
 challenge, because this script uses zero matplotlib methods!!
 
 Best,
 Pierre
 
 
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-users] Embed plot in a website?

2012-08-30 Thread Matthias BUSSONNIER

Le 30 août 2012 à 10:04, Fabien Lafont a écrit :

 Hello everyone,
 
 I'm wondering if it's possible to have a matplotlib graph online ? I mean 
 zoom drag and so on on a plot? 

Hi Fabien, 
http://code.google.com/p/mplh5canvas/
maybe ?
(haven't tried it myself)
-- 
Matthias

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] New tutorial (beginner level)

2012-08-11 Thread Matthias BUSSONNIER

Le 11 août 2012 à 10:43, Nicolas Rougier a écrit :

 
 
 Fantastic ! This is very valuable teaching material.
 Really great job and big thanks to all the ipython developers.
 
 Matthias, hope to see you at Euroscipy (and see some ipython demos).
 In fact, I've also some questions around ipython/webgl for you...
Hi, 
I haven't read the all thread yet, 
but for what we did at SciPy Texas, we achieved some prototype of 
Encrypted cells, 
Hidable Cells, 
Cell with custom background depending on type (green for numpy 
example...etc) 
And a presentation mode that showed cell by blocks. 

This should be doable much more easily now that notebook support custom Js/Css 
on a per profile basis.

Also i'll be out of reach from the 15 to the 20 so if you have any question 
i'll try to respond to you quickly. 
--
Matthias



Some experimental branches.

--those are the same at difference states.
https://github.com/Carreau/ipython/tree/_pmode 
https://github.com/Carreau/ipython/tree/_Pmode
https://github.com/Carreau/ipython/tree/rebase_slideshow_extension
https://github.com/Carreau/ipython/tree/slideshow_extension
https://github.com/Carreau/ipython/tree/_slide_mode

--this one should show you how to make encrypted cell.
https://github.com/Carreau/ipython/tree/cryptcell



 Nicolas
 
 
 On Aug 11, 2012, at 9:17 , Fernando Perez wrote:
 
 On Sat, Aug 11, 2012 at 12:09 AM, Nicolas Rougier
 nicolas.roug...@inria.fr wrote:
 By the way, I suspect the simple plot part may well suited for the ipython 
 notebook !
 I'll give it a try.
 
 Actually in the notebook it is now possible to enable exercises,
 hints, reveal-boxes, etc.  I'm cc'ing here Matthias Bussonnier b/c I'm
 not sure if he's on the mpl list.  He's one of our recent core devs
 who is behind a lot of our new JS magic in the notebook, and he's also
 a French scientist who will be at Euroscipy, so you guys could perhaps
 touch bases (I'm unfortunately not going to make it this year).
 
 Ultimately we'd like to make it very easy to write tutorials such as
 yours directly as notebooks, so that when used in the classroom
 students can work straight off them, and yet also publish then with
 clean and customizable HTML on the web like you did.  Lots of the
 pieces are in place, though not quite all yet :)
 
 Cheers,
 
 f
 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users