Re: [Matplotlib-users] [Matplotlib-announce] matplotlib v2.0.0b1

2016-05-31 Thread Matthew Brett
On Mon, May 30, 2016 at 9:01 PM, Thomas Caswell wrote: > Folks, > > We tagged the first beta for v2.0.0 tonight. Please check out the new > defaults! > > This is tagged as a beta because we anticipate a longer than normal release > cycle. The style changes are substantial and we want to make sur

Re: [Matplotlib-users] Failing to install matplotlib with python 3

2016-06-16 Thread Matthew Brett
Hi, On Thu, Jun 16, 2016 at 9:07 AM, Alan wrote: > Hi there, > > I am not the admin so I have installed my own python 3.5.1 and I am using > pip3 to install all modules I need. I got all but matplotlib :-( > > pip3 install -U matplotlib > Collecting matplotlib > Using cached matplotlib-1.5.1.ta

Re: [Matplotlib-users] Re-sent Message for Help Eroors Tkinter Ubuntu

2017-01-02 Thread Matthew Brett
Hi, On Mon, Jan 2, 2017 at 10:40 AM, wbon...@alice.it wrote: > Running my program for graphics and serial data I got a problem in > dispalying the graph. The message screen in attached. > > > Can anybody help me? Thanks a bunch in advance and happy new year! > Unfortunately the screen shot d

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-11 Thread Matthew Brett
Hi, > I am struggling to import the file into python and having the quiver data > show up. > To import the file I have been using: > “ncdump file.nc” scipy.io has netcdf reading - it just uses a copy of http://pypi.python.org/pypi/pupynere/ Best, Matthew ---

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-12 Thread Matthew Brett
Hi, On Fri, Jun 12, 2009 at 10:52 AM, JPKay wrote: > from mpl_toolkits.basemap import Basemap You have not so far imported mpl_toolkits into the namespace, only Basemap. You could do: import mpl_toolkits.basemap as another import line, or: from mpl_toolkits.basemap import Basemap, NetCDFFile

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-12 Thread Matthew Brett
Hi, I think you mean: >    mpl_toolkits.basemap.NetCDFFile("output.nc", mode='r', maskandscale=True, > cache=None, mmap=True, username=None, password=None, verbose=False) Note quotes round filename... Sorry, I missed those out in my previous mail. Best, Matthew --

Re: [Matplotlib-users] Segmentation fault on show() with currrent SVN on FC4 x86_64

2006-10-24 Thread Matthew Brett
Hi, In 10/24/06, John Hunter <[EMAIL PROTECTED]> wrote: > >>>>> "Matthew" == Matthew Brett <[EMAIL PROTECTED]> writes: > > Matthew> I attach a stack trace in case it's helpful. Any > Matthew> pointers on where I should go for d

Re: [Matplotlib-users] Importing Binary files

2007-02-07 Thread Matthew Brett
Hi, > if it's just a block of bytes in a standard type from and n-d array, you > can use numpy.fromfile() I should also say that I have just committed a rewrite of the binary file reading stuff to scipy, so if you have the latest scipy SVN (as of a few minutes ago), you can do something like: fr

Re: [Matplotlib-users] Importing Binary files

2007-02-08 Thread Matthew Brett
Hi, > > I want to import binary files generated from C/FORTRAN into matplotlib for > > plotting. > > Can this be done using 'load'? > > If you are using SciPy, scipy.io has a few functions which may > help. scipy.io.fromfile, for example. Ah - just to be clear, for scipy 0.5.2, scipy.io.fromfile

Re: [Matplotlib-users] [matplotlib-devel] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-16 Thread Matthew Brett
Hi, > I think a consensus is building in the python community that you should > NEVER use import *! Well, I have only been coding python for a few years, but I would say, along with writing unit tests, the great importance of not using import * is one of the secrets that you learn slowly and pain

Re: [Matplotlib-users] [Numpy-discussion] [matplotlib-devel] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-18 Thread Matthew Brett
Hi, > import plab > > plab.plot() #etc. > > and interactive use could do from plab import *. Yes... It's a hard call of course. I am a long term matlab user, and switched to python relatively recently. I do see the attraction of persuading people that you can get something very similar to matl

Re: [Matplotlib-users] Read/write data from matlab?

2008-02-14 Thread Matthew Brett
Hi, On Thu, Feb 14, 2008 at 3:10 PM, Neal Becker <[EMAIL PROTECTED]> wrote: > Is there a way for me to read/write data to/from matlab? > > I know nothing about matlab, but if I need a colleague to send me some data, > what should I tell her about how to save it from matlab so that I can > impor

[Matplotlib-users] Failed pip install on OSX

2013-08-04 Thread Matthew Brett
Hi, Congratulations on the new release. I just tried installing in a fresh installation of Python 2.7 from Python.org Am I right in thinking the recommended method is: pip install matplotlib ? I did this, and then: >>> import matplotlib.pyplot as plt Traceback (most recent call last):

Re: [Matplotlib-users] Failed pip install on OSX

2013-08-05 Thread Matthew Brett
Hi, On Sun, Aug 4, 2013 at 7:26 PM, Scott Lasley wrote: > > On Aug 4, 2013, at 4:47 PM, Matthew Brett wrote: > >> Hi, >> >> Congratulations on the new release. >> >> I just tried installing in a fresh installation of Python 2.7 from Python.org >> >

Re: [Matplotlib-users] Failed pip install on OSX

2013-08-06 Thread Matthew Brett
Hi, On Mon, Aug 5, 2013 at 4:36 PM, Scott Lasley wrote: > > On Aug 5, 2013, at 4:43 PM, Matthew Brett wrote: > >> Hi, >> >> On Sun, Aug 4, 2013 at 7:26 PM, Scott Lasley wrote: >>> >>> On Aug 4, 2013, at 4:47 PM, Matthew Brett >>> wr

[Matplotlib-users] pip install 0SX 10.7

2013-08-06 Thread Matthew Brett
Hi, Continuing my adventures with setuptools I'm installing matplotlib into a clean + numpy virtualenv with python.org 2.7 I have CC=clang in order to involve some header problems with the default gcc compiler. numpy compiles and installs OK. pip install matplotlib errors with: clang -fno

Re: [Matplotlib-users] pip install 0SX 10.7

2013-08-07 Thread Matthew Brett
Hi, On Wed, Aug 7, 2013 at 4:50 AM, Michael Droettboom wrote: > It should look in /usr/include and /usr/local/include by default. Is it > in either place? There are no freetype* files in either place, no. How would they get there (other than an explicit install)? Thanks again, Matthew -

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-16 Thread Matthew Brett
Hi, On Fri, Aug 16, 2013 at 7:32 AM, Michael Droettboom wrote: > We actually discussed this very issue yesterday in our Google hangout about > continuous integration. We're probably going to need to script a full setup > from a clean Mac + XCode to a working matplotlib development environment in

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-16 Thread Matthew Brett
Hi, On Fri, Aug 16, 2013 at 7:32 AM, Michael Droettboom wrote: > We actually discussed this very issue yesterday in our Google hangout about > continuous integration. We're probably going to need to script a full setup > from a clean Mac + XCode to a working matplotlib development environment in

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-16 Thread Matthew Brett
Hi, On Fri, Aug 16, 2013 at 10:36 AM, Kevin Hunter Kesling wrote: > At 12:11pm -0400 Fri, 16 Aug 2013, Matthew Brett wrote: >> >> We've got 5 macs running OSX 10.4 through 10.8 for us, you'd be >> welcome to remote access to those, and we'd be happy to run b

[Matplotlib-users] Any progress on binary installer for OSX?

2013-10-02 Thread Matthew Brett
Hi, Anything I can do to help get a binary installer for OSX? If I wanted to build one myself - is there a good place to start looking to understand the problems? Cheers, Matthew -- October Webinars: Code for Performan

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom wrote: > Matthew Terry, as part of his Mac testing project, has done a great deal of > reconnaissance on this. > > https://github.com/matplotlib/mpl_mac_testing > > I know he was looking into statically linking some of the C dependencies > (f

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen wrote: > In article > , > Matthew Brett > wrote: > >> Hi, >> >> On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom >> wrote: >> > Matthew Terry, as part of his Mac testing project, has

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-11 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 1:33 PM, Matthew Brett wrote: > Hi, > > On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen wrote: >> In article >> , >> Matthew Brett >> wrote: >> >>> Hi, >>> >>> On Thu, Oct 3, 2013 at 5:59 AM, Mich

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-11 Thread Matthew Brett
Hi, On Fri, Oct 11, 2013 at 9:29 PM, Matthew Brett wrote: > Hi, > > On Thu, Oct 3, 2013 at 1:33 PM, Matthew Brett wrote: >> Hi, >> >> On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen wrote: >>> In article >>> , >>> Matthew Brett >>

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 9:30 AM, Benjamin Root 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 ipython > is no

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 10:26 AM, Nathan Goldbaum 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 ". More detail here: > > http://ipython.org/ipython-doc/2/api/gener

Re: [Matplotlib-users] Basic matshow question

2014-07-30 Thread Matthew Brett
Hi, On Wed, Jul 30, 2014 at 5:14 PM, JBB 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 interface. I've been using

Re: [Matplotlib-users] ImportError: No module named _backend_gdk

2014-08-07 Thread Matthew Brett
Hi, On Wed, Aug 6, 2014 at 8:15 PM, discolemonade wrote: > Thanks Paul. I'm new to all of this and the interplay between GTK, it's > headers and matplotlib is admittedly still a bit of a mystery to me. I have > GTK installed. I installed it after installing matplotlib because I tried to > use TKA

Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice

2014-10-15 Thread Matthew Brett
Hi, On Wed, Oct 15, 2014 at 2:56 PM, Mark Janikas wrote: > > When I replaced the file I got the 1st error below. As you had pointed out > earlier… this is strange. It only occurs when you run it more than once… > strange indeed… it is like a manager is being created and deleted but perhaps

[Matplotlib-users] plt.bar stripping zeros

2014-10-25 Thread Matthew Brett
Hi, I just noticed that this: >>> x = np.arange(10) >>> y = np.zeros(10) >>> y[5] = 1 >>> plt.bar(x, y) Will generate a big box for x = 5 with x 0:5 and 6: stripped, whereas this: >>> y += 0.01 >>> plt.bar(x, y) Will generate a bar plot going from x = 0 to 9 with a bar at 5 as I was expect

Re: [Matplotlib-users] plt.bar stripping zeros

2014-10-27 Thread Matthew Brett
On Mon, Oct 27, 2014 at 11:06 AM, Benjamin Root wrote: > Which version of matplotlib are you running? I could have sworn this was > fixed awhile ago. If I understand the problem correctly, essentially, the > autoscalling was clipping empty patches out. I'm embarrassed to say that I didn't look at

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-02 Thread Matthew Brett
Hi, On Mon, Feb 2, 2015 at 2:58 AM, Jens Nielsen wrote: > Thanks Tom, > > I ran the test suite on OSX 10.10 with both python 2.7.8 and 3.4.2 including > the tex and QT4 tests that are skipped on Travis. > Everything passes as expected. I built wheels for OSX testing, via the automated travis bui

Re: [Matplotlib-users] [matplotlib-devel] Capitalization of Matplotlib

2015-02-16 Thread Matthew Brett
Hi, On Mon, Feb 16, 2015 at 1:26 PM, Paul Kuin wrote: > Ah, since it is a proper name it should be capitalised, but it never was. I > think that it should remain uncapitalised and that you want to propose an > alternative, like a change in type for the proper name matplotlib. Could be > typescri