[matplotlib-devel] feedback on multi-figure-manager

2013-10-23 Thread Federico Ariza
Hello everybody

Its been a couple of weeks an I was wondering if anybody has feedback for me.
https://github.com/matplotlib/matplotlib/pull/2465

I changed the description on the PR to be more precise.
At the begining I called it tabbed gtk3 figuremanager but it is more a
multi-figure-manager with the first implementation in gtk3.

Thanks
Federico
-- 
Y yo que culpa tengo de que ellas se crean todo lo que yo les digo?

-- Antonio Alducin --

--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] mpl 1.3.1 install issues with py3.3

2013-10-23 Thread Neal Becker
pip install of mpl 1.3.1 has issues.
It wants to install nose, but seems to be incompatible with py3.3:

  Running setup.py install for nose
  File "/home/nbecker/.local/lib/python3.3/site-
packages/nose/plugins/base.py", line 70
except OptionConflictError, e:
  ^
SyntaxError: invalid syntax

  File "/home/nbecker/.local/lib/python3.3/site-
packages/nose/plugins/multiprocess.py", line 481
except (KeyboardInterrupt, SystemExit), e:
  ^
SyntaxError: invalid syntax
  


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] assertion error with xkcd

2013-10-23 Thread Neal Becker
This was using pdfpages (if that matters)

Traceback (most recent call last):
  File "./plot_stuff2.py", line 326, in 
the_plot.finish (args, opt, time, res)
  File "./plot_stuff2.py", line 145, in finish
self.pdf.savefig (self.fig)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/backends/backend_pdf.py", line 2297, in savefig
figure.savefig(self, format='pdf', **kwargs)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/figure.py", 
line 1421, in savefig
self.canvas.print_figure(*args, **kwargs)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/backend_bases.py", line 2220, in print_figure
**kwargs)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/backends/backend_pdf.py", line 2340, in print_pdf
self.figure.draw(renderer)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/artist.py", 
line 54, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/figure.py", 
line 1034, in draw
func(*args)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/artist.py", 
line 54, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/text.py", 
line 589, in draw
self._fontproperties, angle)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/patheffects.py", line 102, in draw_text
self._draw_text_as_path(renderer, gc, x, y, s, prop, angle, ismath)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/patheffects.py", line 112, in _draw_text_as_path
ismath)
  File "/home/nbecker/.local/lib/python2.7/site-
packages/matplotlib/backend_bases.py", line 526, in _get_text_path_transform
path = Path(verts, codes)
  File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/path.py", 
line 147, in __init__
assert vertices.ndim == 2
AssertionError


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] mpl 1.3.1 install issues with py3.3

2013-10-23 Thread Benjamin Root
This isn't a matplotlib bug. Somehow, a py2.x version of nose got into your
python3.3 site-packages. Try clearing that out first. Of course, it might
still be possible that we are somehow forcing the wrong nose to be
installed...
--
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=60135991&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] assertion error with xkcd

2013-10-23 Thread Benjamin Root
Can you provide a code example to reproduce this. I suspect that recent
work on path effects might be to blame here. Also, exactly which version of
matplotlib and numpy were you using? The assert was placed there about a
year ago IIRC to deal with a short-lived numpy bug.
--
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=60135991&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] assertion error with xkcd

2013-10-23 Thread Michael Droettboom
Can you provide a standalone example to reproduce?  The multipage_pdf.py 
example works fine with xkcd switched on.

Mike

On 10/23/2013 08:01 AM, Neal Becker wrote:
> This was using pdfpages (if that matters)
>
> Traceback (most recent call last):
>File "./plot_stuff2.py", line 326, in 
>  the_plot.finish (args, opt, time, res)
>File "./plot_stuff2.py", line 145, in finish
>  self.pdf.savefig (self.fig)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/backends/backend_pdf.py", line 2297, in savefig
>  figure.savefig(self, format='pdf', **kwargs)
>File 
> "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/figure.py",
> line 1421, in savefig
>  self.canvas.print_figure(*args, **kwargs)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/backend_bases.py", line 2220, in print_figure
>  **kwargs)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/backends/backend_pdf.py", line 2340, in print_pdf
>  self.figure.draw(renderer)
>File 
> "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/artist.py",
> line 54, in draw_wrapper
>  draw(artist, renderer, *args, **kwargs)
>File 
> "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/figure.py",
> line 1034, in draw
>  func(*args)
>File 
> "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/artist.py",
> line 54, in draw_wrapper
>  draw(artist, renderer, *args, **kwargs)
>File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/text.py",
> line 589, in draw
>  self._fontproperties, angle)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/patheffects.py", line 102, in draw_text
>  self._draw_text_as_path(renderer, gc, x, y, s, prop, angle, ismath)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/patheffects.py", line 112, in _draw_text_as_path
>  ismath)
>File "/home/nbecker/.local/lib/python2.7/site-
> packages/matplotlib/backend_bases.py", line 526, in _get_text_path_transform
>  path = Path(verts, codes)
>File "/home/nbecker/.local/lib/python2.7/site-packages/matplotlib/path.py",
> line 147, in __init__
>  assert vertices.ndim == 2
> AssertionError
>
>
> --
> 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=60135991&iu=/4140/ostg.clktrk
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Weird issue with mpl-1.3.1 install

2013-10-23 Thread Neal Becker
This is really strange.  It d/l 1.3.1, but then builds installs 1.3.0???

python3-pip install --user --up --no-deps matplotlib
Downloading/unpacking matplotlib from 
https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz
  Running setup.py egg_info for package matplotlib

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
matplotlib: yes [1.3.0]
python: yes [3.3.2 (default, Aug 23 2013, 19:00:04)  [GCC
4.8.1 20130603 (Red Hat 4.8.1-1)]]
  platform: yes [linux]

REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.7.1]
  dateutil: yes [using dateutil version 2.1]
   tornado: yes [using tornado version 3.1.1]
 pyparsing: yes [using pyparsing version 2.0.1]
 pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x.  Using local copy]
libagg: yes [Requires patches that have not been merged
upstream. Using local copy.]
  freetype: yes [version 16.0.10]
   png: yes [version 1.5.13]

OPTIONAL SUBPACKAGES
   sample_data: yes [installing]
  toolkits: yes [installing]
 tests: yes [using nose version 1.3.0]

OPTIONAL BACKEND EXTENSIONS
macosx: no  [Mac OS-X only]
qt4agg: yes [Qt: 4.8.4, PyQt4: 4.10.1]
   gtk3agg: no  [gtk3agg backend does not work on Python 3]
 gtk3cairo: no  [Requires pygobject to be installed.]
gtkagg: no  [Requires pygtk]
 tkagg: no  [The C/C++ header for Tk (tk.h) could not be
found.  You may need to install the development
package.]
 wxagg: no  [requires wxPython]
   gtk: no  [Requires pygtk]
   agg: yes [installing]
 cairo: yes [version 1.10.0]
 windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.14]
   ghostscript: yes [version 9.10]
 latex: yes [version 3.1415926]
   pdftops: yes [version 0.22.1]


Installing collected packages: matplotlib
  Found existing installation: matplotlib 1.3.0
Uninstalling matplotlib:
  Successfully uninstalled matplotlib
  Running setup.py install for matplotlib

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
matplotlib: yes [1.3.0]
python: yes [3.3.2 (default, Aug 23 2013, 19:00:04)  [GCC
4.8.1 20130603 (Red Hat 4.8.1-1)]]
  platform: yes [linux]

REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.7.1]
  dateutil: yes [using dateutil version 2.1]
   tornado: yes [using tornado version 3.1.1]
 pyparsing: yes [using pyparsing version 2.0.1]
 pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x.  Using local copy]
libagg: yes [Requires patches that have not been merged
upstream. Using local copy.]
  freetype: yes [version 16.0.10]
   png: yes [version 1.5.13]

OPTIONAL SUBPACKAGES
   sample_data: yes [installing]
  toolkits: yes [installing]
 tests: yes [using nose version 1.3.0]

OPTIONAL BACKEND EXTENSIONS
macosx: no  [Mac OS-X only]
qt4agg: yes [Qt: 4.8.4, PyQt4: 4.10.1]
   gtk3agg: no  [gtk3agg backend does not work on Python 3]
 gtk3cairo: no  [Requires pygobject to be installed.]
gtkagg: no  [Requires pygtk]
 tkagg: no  [The C/C++ header for Tk (tk.h) could not be
found.  You may need to install the development
package.]
 wxagg: no  [requires wxPython]
   gtk: no  [Requires pygtk]
   agg: yes [installing]
 cairo: yes [version 1.10.0]
 windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.14]
   ghostscript: yes [version 9.10]
 latex: yes [version 3.1415926]
   pdftops: yes [version 0.22.1]

S

Re: [matplotlib-devel] Weird issue with mpl-1.3.1 install

2013-10-23 Thread Neal Becker
OK, this seems to be a pip caching bug.  After rm -rf /tmp/pip*, it installed 
correctly

Neal Becker wrote:

> This is really strange.  It d/l 1.3.1, but then builds installs 1.3.0???
> 
> python3-pip install --user --up --no-deps matplotlib
> Downloading/unpacking matplotlib from
> 
https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz
>   Running setup.py egg_info for package matplotlib
> 

> Edit setup.cfg to change the build options
> 
> BUILDING MATPLOTLIB
> matplotlib: yes [1.3.0]
> python: yes [3.3.2 (default, Aug 23 2013, 19:00:04)  [GCC
> 4.8.1 20130603 (Red Hat 4.8.1-1)]]
>   platform: yes [linux]
> 
> REQUIRED DEPENDENCIES AND EXTENSIONS
>  numpy: yes [version 1.7.1]
>   dateutil: yes [using dateutil version 2.1]
>tornado: yes [using tornado version 3.1.1]
>  pyparsing: yes [using pyparsing version 2.0.1]
>  pycxx: yes [Official versions of PyCXX are not compatible
> with Python 3.x.  Using local copy]
> libagg: yes [Requires patches that have not been merged
> upstream. Using local copy.]
>   freetype: yes [version 16.0.10]
>png: yes [version 1.5.13]
> 
> OPTIONAL SUBPACKAGES
>sample_data: yes [installing]
>   toolkits: yes [installing]
>  tests: yes [using nose version 1.3.0]
> 
> OPTIONAL BACKEND EXTENSIONS
> macosx: no  [Mac OS-X only]
> qt4agg: yes [Qt: 4.8.4, PyQt4: 4.10.1]
>gtk3agg: no  [gtk3agg backend does not work on Python 3]
>  gtk3cairo: no  [Requires pygobject to be installed.]
> gtkagg: no  [Requires pygtk]
>  tkagg: no  [The C/C++ header for Tk (tk.h) could not be
> found.  You may need to install the development
> package.]
>  wxagg: no  [requires wxPython]
>gtk: no  [Requires pygtk]
>agg: yes [installing]
>  cairo: yes [version 1.10.0]
>  windowing: no  [Microsoft Windows only]
> 
> OPTIONAL LATEX DEPENDENCIES
> dvipng: yes [version 1.14]
>ghostscript: yes [version 9.10]
>  latex: yes [version 3.1415926]
>pdftops: yes [version 0.22.1]
> 
> 
> Installing collected packages: matplotlib
>   Found existing installation: matplotlib 1.3.0
> Uninstalling matplotlib:
>   Successfully uninstalled matplotlib
>   Running setup.py install for matplotlib
> 

> Edit setup.cfg to change the build options
> 
> BUILDING MATPLOTLIB
> matplotlib: yes [1.3.0]
> python: yes [3.3.2 (default, Aug 23 2013, 19:00:04)  [GCC
> 4.8.1 20130603 (Red Hat 4.8.1-1)]]
>   platform: yes [linux]
> 
> REQUIRED DEPENDENCIES AND EXTENSIONS
>  numpy: yes [version 1.7.1]
>   dateutil: yes [using dateutil version 2.1]
>tornado: yes [using tornado version 3.1.1]
>  pyparsing: yes [using pyparsing version 2.0.1]
>  pycxx: yes [Official versions of PyCXX are not compatible
> with Python 3.x.  Using local copy]
> libagg: yes [Requires patches that have not been merged
> upstream. Using local copy.]
>   freetype: yes [version 16.0.10]
>png: yes [version 1.5.13]
> 
> OPTIONAL SUBPACKAGES
>sample_data: yes [installing]
>   toolkits: yes [installing]
>  tests: yes [using nose version 1.3.0]
> 
> OPTIONAL BACKEND EXTENSIONS
> macosx: no  [Mac OS-X only]
> qt4agg: yes [Qt: 4.8.4, PyQt4: 4.10.1]
>gtk3agg: no  [gtk3agg backend does not work on Python 3]
>  gtk3cairo: no  [Requires pygobject to be installed.]
> gtkagg: no  [Requires pygtk]
>  tkagg: no  [The C/C++ header for Tk (tk.h) could not be
> found.  You may need to install the development
> package.]
>  wxagg: no  [requires wxPython]
>gtk: no  [Requires pygtk]
>agg: yes [installing]
>  cairo: yes [version

Re: [matplotlib-devel] assertion error with xkcd

2013-10-23 Thread Neal Becker
Benjamin Root wrote:

> Can you provide a code example to reproduce this. I suspect that recent
> work on path effects might be to blame here. Also, exactly which version of
> matplotlib and numpy were you using? The assert was placed there about a
> year ago IIRC to deal with a short-lived numpy bug.

The code is large and reads a bunch of data to plot.


The line that triggers the error says:

self.pdf.savefig (self.fig)

Would it be useful to provide a pickled fig (umm,,, pickled figs)




--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] assertion error with xkcd

2013-10-23 Thread Michael Droettboom
On 10/23/2013 09:51 AM, Neal Becker wrote:
> Benjamin Root wrote:
>
>> Can you provide a code example to reproduce this. I suspect that recent
>> work on path effects might be to blame here. Also, exactly which version of
>> matplotlib and numpy were you using? The assert was placed there about a
>> year ago IIRC to deal with a short-lived numpy bug.
> The code is large and reads a bunch of data to plot.
>
>
> The line that triggers the error says:
>
>  self.pdf.savefig (self.fig)
>
> Would it be useful to provide a pickled fig (umm,,, pickled figs)
No, we really need a self-contained example that triggers it.  We 
already have a self-contained example that works (multipage_pdf.py in 
the examples)...  So there's something extra that's happening in your 
context.  Maybe start with multipage_pdf.py and add things from your own 
app until it breaks?

Mike


-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] OS-X binaries?

2013-10-23 Thread Russell E. Owen
In article 
,
 Matthew Brett  
 wrote:

> Hi Chris,
> 
> On Tue, Oct 22, 2013 at 9:03 AM, Chris Barker - NOAA Federal
>  wrote:
> > Are there recent binaries for OS-X anywhere? There don't seem to be
> > any for recent releases on the MPL download page.
> >
> > I know we had a discussion about this a whole back, but don't remember
> > the outcome. But I hope we'll continue to put them up-- macports and
> > friends really aren't the best solutions for everyone.
> 
> I hope I have this cracked now, at least in principle.
> 
> The latest versions are here:
> 
> http://nipy.bic.berkeley.edu/scipy_installers/
> 
> Following Matt Terry's example, I'm testing the builds and then the
> installers here:
> 
> https://travis-ci.org/matthew-brett/mpl-osx-binaries

The last ones I got from you worked very well: just a few test failures 
and the current one seems to be doing about the same.

Thank you very much for providing these! I hope you will post them to 
the matplotlib official site.

One odd failure (in both of them) that I don't remember seeing before:
/2.7/lib/python2.7/site-packages/matplotlib/projections/geo.py:485: 
RuntimeWarning: invalid value encountered in arcsin
  theta = np.arcsin(y / np.sqrt(2))

There's a complaint about an invalid font name, but I've seen that for 
quite some time:
Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' '

FAILED (KNOWNFAIL=2, SKIP=1, errors=2)

One small suggestion: if it's not too much trouble, might you make them 
.dmgs? It's a bit more convenient then having to unzip them to use them. 
But if it's too much work don't bother; zipped mpkg are fine and it's 
wonderful to have complete binary installers.

-- Russell


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] OS-X binaries?

2013-10-23 Thread Matthew Brett
Hi,

On Wed, Oct 23, 2013 at 11:30 AM, Russell E. Owen  wrote:
> In article
> ,
>  Matthew Brett 
>  wrote:
>
>> Hi Chris,
>>
>> On Tue, Oct 22, 2013 at 9:03 AM, Chris Barker - NOAA Federal
>>  wrote:
>> > Are there recent binaries for OS-X anywhere? There don't seem to be
>> > any for recent releases on the MPL download page.
>> >
>> > I know we had a discussion about this a whole back, but don't remember
>> > the outcome. But I hope we'll continue to put them up-- macports and
>> > friends really aren't the best solutions for everyone.
>>
>> I hope I have this cracked now, at least in principle.
>>
>> The latest versions are here:
>>
>> http://nipy.bic.berkeley.edu/scipy_installers/
>>
>> Following Matt Terry's example, I'm testing the builds and then the
>> installers here:
>>
>> https://travis-ci.org/matthew-brett/mpl-osx-binaries
>
> The last ones I got from you worked very well: just a few test failures
> and the current one seems to be doing about the same.
>
> Thank you very much for providing these! I hope you will post them to
> the matplotlib official site.

I'd be happy to - I think I'm waiting for some agreement that that is
OK.  I suppose I don't have permission to do that at the moment.

> One odd failure (in both of them) that I don't remember seeing before:
> /2.7/lib/python2.7/site-packages/matplotlib/projections/geo.py:485:
> RuntimeWarning: invalid value encountered in arcsin
>   theta = np.arcsin(y / np.sqrt(2))
>
> There's a complaint about an invalid font name, but I've seen that for
> quite some time:
> Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' '
>
> FAILED (KNOWNFAIL=2, SKIP=1, errors=2)
>
> One small suggestion: if it's not too much trouble, might you make them
> .dmgs? It's a bit more convenient then having to unzip them to use them.
> But if it's too much work don't bother; zipped mpkg are fine and it's
> wonderful to have complete binary installers.

Yes - sure - I'll build the DMGs - was just trying to save myself some
effort while waiting for feedback - and - thanks for the feedback ...

Cheers,

Matthew

--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] OS-X binaries?

2013-10-23 Thread Michael Droettboom
On 10/23/2013 02:41 PM, Matthew Brett wrote:
> Hi,
>
> On Wed, Oct 23, 2013 at 11:30 AM, Russell E. Owen  wrote:
>> In article
>> ,
>>   Matthew Brett 
>>   wrote:
>>
>>> Hi Chris,
>>>
>>> On Tue, Oct 22, 2013 at 9:03 AM, Chris Barker - NOAA Federal
>>>  wrote:
 Are there recent binaries for OS-X anywhere? There don't seem to be
 any for recent releases on the MPL download page.

 I know we had a discussion about this a whole back, but don't remember
 the outcome. But I hope we'll continue to put them up-- macports and
 friends really aren't the best solutions for everyone.
>>> I hope I have this cracked now, at least in principle.
>>>
>>> The latest versions are here:
>>>
>>> http://nipy.bic.berkeley.edu/scipy_installers/
>>>
>>> Following Matt Terry's example, I'm testing the builds and then the
>>> installers here:
>>>
>>> https://travis-ci.org/matthew-brett/mpl-osx-binaries
>> The last ones I got from you worked very well: just a few test failures
>> and the current one seems to be doing about the same.
>>
>> Thank you very much for providing these! I hope you will post them to
>> the matplotlib official site.
> I'd be happy to - I think I'm waiting for some agreement that that is
> OK.  I suppose I don't have permission to do that at the moment.

Let's talk about this at tomorrow's meeting -- or offline if you can't 
make the meeting.  Ideally, yes, these should be posted with the other 
files.  We can sort out the required permissions etc. offlist.

>
>> One odd failure (in both of them) that I don't remember seeing before:
>> /2.7/lib/python2.7/site-packages/matplotlib/projections/geo.py:485:
>> RuntimeWarning: invalid value encountered in arcsin
>>theta = np.arcsin(y / np.sqrt(2))
>>
>> There's a complaint about an invalid font name, but I've seen that for
>> quite some time:
>> Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' '
>>
>> FAILED (KNOWNFAIL=2, SKIP=1, errors=2)
>>
>> One small suggestion: if it's not too much trouble, might you make them
>> .dmgs? It's a bit more convenient then having to unzip them to use them.
>> But if it's too much work don't bother; zipped mpkg are fine and it's
>> wonderful to have complete binary installers.
> Yes - sure - I'll build the DMGs - was just trying to save myself some
> effort while waiting for feedback - and - thanks for the feedback ...


-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] OS-X binaries?

2013-10-23 Thread Chris Barker
On Wed, Oct 23, 2013 at 11:30 AM, Russell E. Owen  wrote:
> The last ones I got from you worked very well: just a few test failures
> and the current one seems to be doing about the same.

worked well for me too (something odd with wx back end re-rendering,
but I doubt that's a Mac build issue...)

I tok a quick look at your waf scripts and I couldn't tell how you are
handling the external compiled dependencies (png, zlib, freetype) --
are these statically linked in?

It'll be good to see these posted on the MPL download site.

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

chris.bar...@noaa.gov

--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] OS-X binaries?

2013-10-23 Thread Matthew Brett
Hi,

On Wed, Oct 23, 2013 at 12:37 PM, Chris Barker  wrote:
> On Wed, Oct 23, 2013 at 11:30 AM, Russell E. Owen  wrote:
>> The last ones I got from you worked very well: just a few test failures
>> and the current one seems to be doing about the same.
>
> worked well for me too (something odd with wx back end re-rendering,
> but I doubt that's a Mac build issue...)
>
> I tok a quick look at your waf scripts and I couldn't tell how you are
> handling the external compiled dependencies (png, zlib, freetype) --
> are these statically linked in?

Yup:

https://github.com/matthew-brett/mpl-osx-binaries/blob/master/wscript#L20

through line 44 define the build rules for the libraries.

I then (this came from John H's make script I think) delete any shared
libraries:

https://github.com/matthew-brett/mpl-osx-binaries/blob/master/wscript#L183

and force mpl to link against these libraries first by setting
'basedir' in 'setup.cfg':

https://github.com/matthew-brett/mpl-osx-binaries/blob/master/wscript#L183

I should probably disable building the shared libraries as Matt T does
in his builds.

Cheers,

Matthew

--
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=60135991&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel