Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread JBB
On 7/29/14, 10:49 PM, Eric Firing wrote: On 2014/07/29, 7:04 PM, JBB wrote: Hello, I am relatively new to Python, numpy, matplotlib, etc., with a reasonable amount of Matlab experience. ...[ Problem and test code trimmed ] First, at least initially for this sort of thing, run in

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Benjamin Root
I think it is mostly an issue with how IPython interfaces with matplotlib. If you were running from a pure python prompt, then I would suspect it to work (haven't tried myself, though). Note that the --pylab option to ipython is now highly discouraged. Instead, I would try the %matplotlib

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 9:30 AM, Benjamin Root ben.r...@ou.edu wrote: I think it is mostly an issue with how IPython interfaces with matplotlib. If you were running from a pure python prompt, then I would suspect it to work (haven't tried myself, though). Note that the --pylab option to

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Nathan Goldbaum
You would use %matplotlib inline if you want the plots to show up inline in the notebook. If you want to use one of the gui backends, it would be %matplotlib backend. More detail here:

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Benjamin Root
There is no change to the recommendations for interactive plots from the console, if by console you mean the normal python REPL. There is no --pylab for that. If you mean from the IPython console, then it is the cell magic I mentioned previously. On Wed, Jul 30, 2014 at 1:19 PM, Matthew Brett

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 10:26 AM, Nathan Goldbaum nathan12...@gmail.com wrote: You would use %matplotlib inline if you want the plots to show up inline in the notebook. If you want to use one of the gui backends, it would be %matplotlib backend. More detail here:

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Fernando Perez
On Wed, Jul 30, 2014 at 10:26 AM, Nathan Goldbaum nathan12...@gmail.com wrote: Pylab is going to be removed in IPython 3.0 (in fact it's already gone in master) since it has several bad interactions with the rest of the numpy/scipy universe and leads to un-reproducible code. Quick

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Eric Firing
On 2014/07/30, 7:26 AM, Benjamin Root wrote: There is no --pylab for that. I don't know what development version you are using, but for 2.1.0, it is still there--and it does what needs to be done. -- Infragistics

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Brendan Barnwell
On 2014-07-30 14:51, Eric Firing wrote: On 2014/07/30, 7:26 AM, Benjamin Root wrote: There is no --pylab for that. I don't know what development version you are using, but for 2.1.0, it is still there--and it does what needs to be done. He was talking about the normal Python

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread JBB
Thanks for all the responses. I'll try pure Python via the Spyder IDE vs. Ipython/Ipython Notebook for this and report back. The 'No Pylab Thanks' was enlightening. I am confused about the role of the Notebook interface. I've been using it to learn the language, do experiments, and preserve

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 5:14 PM, JBB jeanbigbo...@gmail.com wrote: Thanks for all the responses. I'll try pure Python via the Spyder IDE vs. Ipython/Ipython Notebook for this and report back. The 'No Pylab Thanks' was enlightening. I am confused about the role of the Notebook

[Matplotlib-users] Matplotlib history

2014-07-30 Thread Benjamin Root
Hello all, I am trying to put together notes for a writeup on a short history of matplotlib (in particular, its uses for interactive plotting). I have John Hunter's SciPy 2012 Keynote, which helps, but I was hoping for some other sources. Unfortunately, searching for matplotlib and history gets

Re: [Matplotlib-users] Matplotlib history

2014-07-30 Thread Fernando Perez
Hi Ben, if by interactive plotting you refer to using it interactively via ipython and other such systems, there's a good part of that history that is spread somewhere between the early mpl and ipython archives AND John's and my personal inboxes. A good chunk of that (not all, mind you, since

Re: [Matplotlib-users] Matplotlib history

2014-07-30 Thread Benjamin Root
Fernando, This information is going to be the preface of my book on using matplotlib for making an interactive application (sorry, no IPython, the editor wanted to keep the scope tight). So, what I am looking for are some of the major interactive features (who supplied them, and their

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread JBB
I've followed up on several suggestions and here is what I've done/found. (I know I don't use mlab or pylab but I pulled the import lines from another source and am leaving them in for the heck of it) Code A: import numpy as np import matplotlib import time from matplotlib import pylab, mlab,