New tutorial (beginner level)

Hi all,

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

http://www.loria.fr/~rougier/teaching/matplotlib/

It is based on Mike Müller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you've any comments or see errors...

Nicolas

Nice work. I haven’t read through all of it yet, but I did notice a layout issue in firefox (using 10.0.4). Many of the code snippets are being placed on top of the example image.

What is the license for this tutorial? You should also place some copyright info at the bottom as well.

Cheers!
Ben Root

···

On Fri, Aug 10, 2012 at 8:23 AM, Nicolas Rougier <Nicolas.Rougier@…3782…> wrote:

Hi all,

I’ve just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

http://www.loria.fr/~rougier/teaching/matplotlib/

It is based on Mike Müller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you’ve any comments or see errors…

Nicolas

I see this behaviour too, on Chrome, version 20.0.1132.57.

Tutorial looks nice, though :slight_smile:

···

On Fri, Aug 10, 2012 at 09:10:15AM -0400, Benjamin Root wrote:

On Fri, Aug 10, 2012 at 8:23 AM, Nicolas Rougier > <Nicolas.Rougier@...3782...>wrote:

>
> Hi all,
>
> I've just finished a new introductory tutorial for incoming Euroscipy
> 2012. You can find it here:
>
> Page Redirection
>
> It is based on Mike M�ller tutorial from scipy lecture notes (
> http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)
>
> Sources are available from:
> https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012
>
> If you've any comments or see errors...
>
> Nicolas
>

Nice work. I haven't read through all of it yet, but I did notice a layout
issue in firefox (using 10.0.4). Many of the code snippets are being
placed on top of the example image.

--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

Same on epiphany 3.4.2 (webkit 1.8.1)

···

Le vendredi 10 août 2012 à 14:19 +0100, Damon McDougall a écrit :

On Fri, Aug 10, 2012 at 09:10:15AM -0400, Benjamin Root wrote:
>
> Nice work. I haven't read through all of it yet, but I did notice a layout
> issue in firefox (using 10.0.4). Many of the code snippets are being
> placed on top of the example image.

I see this behaviour too, on Chrome, version 20.0.1132.57.

--
Fabrice Silva

This is really beautifully presented. It would be great if some, or all of this could be integrated into the main Matplotlib site. Someone emailed the list not too long suggesting that the user guide was geared more toward developers. This tutorial would definitely fill the gap.

If nothing else, I would love to see the “Other types of plots” and “Quick Reference” sections as pages on the main site with links to them on the main navigation bar.

Nice work!

-Tony

···

On Fri, Aug 10, 2012 at 8:23 AM, Nicolas Rougier <Nicolas.Rougier@…3782…> wrote:

Hi all,

I’ve just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

http://www.loria.fr/~rougier/teaching/matplotlib/

It is based on Mike Müller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you’ve any comments or see errors…

Nicolas

Very nice. I'm thinking of some ideas to revamp the documentation/website, and one thing I would like to do is to link to some of these external resources. Do you have any objections to me linking to this?

Mike

···

On 08/10/2012 08:23 AM, Nicolas Rougier wrote:

Hi all,

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

Page Redirection

It is based on Mike M�ller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you've any comments or see errors...

Nicolas
------------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

Thank you all, I will try to correct that.
I developed it in full screen mode and did not paid attention to the layout.

Nicolas

···

On Aug 10, 2012, at 15:33 , Fabrice Silva wrote:

Le vendredi 10 août 2012 à 14:19 +0100, Damon McDougall a écrit :

On Fri, Aug 10, 2012 at 09:10:15AM -0400, Benjamin Root wrote:

Nice work. I haven't read through all of it yet, but I did notice a layout
issue in firefox (using 10.0.4). Many of the code snippets are being
placed on top of the example image.

I see this behaviour too, on Chrome, version 20.0.1132.57.

Same on epiphany 3.4.2 (webkit 1.8.1)

--
Fabrice Silva

------------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

Thanks, just forgot about the license. It will be the same as the scipy lecture notes which is a

Creative Commons Attribution 3.0 United States License (CC-by)
http://creativecommons.org/licenses/by/3.0/us

Would that be ok or is a BSD one more suited ?

Nicolas

···

On Aug 10, 2012, at 15:10 , Benjamin Root wrote:

On Fri, Aug 10, 2012 at 8:23 AM, Nicolas Rougier <Nicolas.Rougier@...4168......> wrote:

Hi all,

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

Page Redirection

It is based on Mike Müller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you've any comments or see errors...

Nicolas

Nice work. I haven't read through all of it yet, but I did notice a layout issue in firefox (using 10.0.4). Many of the code snippets are being placed on top of the example image.

What is the license for this tutorial? You should also place some copyright info at the bottom as well.

Cheers!
Ben Root

Not at all of course. Glad this might be of some help for matplolib.

Nicolas

···

On Aug 10, 2012, at 16:03 , Michael Droettboom wrote:

Very nice. I'm thinking of some ideas to revamp the
documentation/website, and one thing I would like to do is to link to
some of these external resources. Do you have any objections to me
linking to this?

Mike

On 08/10/2012 08:23 AM, Nicolas Rougier wrote:

Hi all,

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

Page Redirection

It is based on Mike Müller tutorial from scipy lecture notes (http://scipy-lectures.github.com/intro/matplotlib/matplotlib.html)

Sources are available from: https://github.com/rougier/scipy-lecture-notes/tree/euroscipy-2012

If you've any comments or see errors...

Nicolas
------------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

------------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

Wow! Other than the rendering glitches already mentioned, this is
*awesome*. We're teaching a python workshop at UC Berkeley in 2 weeks
(http://register.pythonbootcamp.info) and I just suggested we use this
for our mpl intro.

It's the best one I've seen so far, and the reference info at the
bottom as well as the mini-gallery will make it a very useful resource
even for seasoned users.

Fantastic job, Nicolas (and Mike M.), and thanks for sharing this
great resource!

Cheers,

f

···

On Fri, Aug 10, 2012 at 5:23 AM, Nicolas Rougier <Nicolas.Rougier@...3782...> wrote:

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

Page Redirection

Thanks Fernando !

By the way, I suspect the simple plot part may well suited for the ipython notebook !
I'll give it a try.

Nicolas

···

On Aug 11, 2012, at 4:55 , Fernando Perez wrote:

On Fri, Aug 10, 2012 at 5:23 AM, Nicolas Rougier > <Nicolas.Rougier@...3782...> wrote:

I've just finished a new introductory tutorial for incoming Euroscipy 2012. You can find it here:

Page Redirection

Wow! Other than the rendering glitches already mentioned, this is
*awesome*. We're teaching a python workshop at UC Berkeley in 2 weeks
(http://register.pythonbootcamp.info) and I just suggested we use this
for our mpl intro.

It's the best one I've seen so far, and the reference info at the
bottom as well as the mini-gallery will make it a very useful resource
even for seasoned users.

Fantastic job, Nicolas (and Mike M.), and thanks for sharing this
great resource!

Cheers,

f

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 :slight_smile:

Cheers,

f

···

On Sat, Aug 11, 2012 at 12:09 AM, Nicolas Rougier <Nicolas.Rougier@...3782...> wrote:

By the way, I suspect the simple plot part may well suited for the ipython notebook !
I'll give it a try.

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...

Nicolas

···

On Aug 11, 2012, at 9:17 , Fernando Perez wrote:

On Sat, Aug 11, 2012 at 12:09 AM, Nicolas Rougier > <Nicolas.Rougier@...3782...> 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 :slight_smile:

Cheers,

f

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.

···

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...

--
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.

Nicolas

On Aug 11, 2012, at 9:17 , Fernando Perez wrote:

On Sat, Aug 11, 2012 at 12:09 AM, Nicolas Rougier >> <Nicolas.Rougier@...3782...> 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 :slight_smile:

Cheers,

f

Fernando,

I have said this before, and it can’t be repeated often enough. The work that you and your team has been doing the past few years with the notebook is already revolutionizing how we teach python. 10 years from now, programmers will point to this as the killer feature of python.

Kudos!

Ben Root

···

On Saturday, August 11, 2012, Fernando Perez wrote:

On Sat, Aug 11, 2012 at 12:09 AM, Nicolas Rougier > > <Nicolas.Rougier@…3782…> 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 :slight_smile:

Cheers,

f

Hi Ben,

I have said this before, and it can't be repeated often enough. The work
that you and your team has been doing the past few years with the notebook
is *already* revolutionizing how we teach python. 10 years from now,
programmers will point to this as the *killer* feature of python.

well, your kind words are very much appreciated, truly. It's been a
ton of work, and at this point far more credit goes to the rest of the
team than to me.

One thing I'd like to emphasize is how strong, productive and positive
the collaboration between IPython and matplotlib has been over time:
we have managed to allow both projects to fully retain their identity
(we don't even have a hard dependency on mpl in IPython, and
matplotlib doesn't even import IPython at all), and yet the two
projects complement each other very well, benefiting both of them, and
ultimately all of our users. A good combination of communication and
collaboration has allowed us to maintain a strong separation of
concerns while providing users a feel of integrated functionality
where it matters.

I have every reason to believe that, as we push into the second decade
of this effort with the vision of challenges and ideas that John and
Michael D. recently laid out (at the SciPy'12 keynote and in Michael's
posts), this is only going to get better. The web work is going to be
a pretty tough challenge, but at the same time it's a great
opportunity to revisit key parts of matplotlib with a lot of hindsight
we've accumulated.

That kind of hindsight is what let us refactor all of IPython over the
last few years, so that while the user experience at the terminal from
0.10 to 0.11 remained mostly unchanged (we did have some regressions
but they were pretty mild), we had a completely new architecture under
the hood that paved the way for the qt console, the notebook and the
current parallel machinery. I hope we'll see similar benefits as the
web forces us to rethink matplotlib for a multiprocess model.

Cheers,

f

···

On Sat, Aug 11, 2012 at 8:30 AM, Benjamin Root <ben.root@...1304...> wrote: