Re: [matplotlib-devel] slowdown with big invisible lines

2012-09-13 Thread Phil Elson
> I was just wondering if I should preferably post such messages about a
> possible bug report on matplotlib-users mailing list instead of the
> devel ml

Hi Pierre,

Thanks for bringing this to our attention.

You've posted to the right mailing list - I'm sorry nobody has replied, we
have all been focussing on the latest 1.2 release and this has fallen
through the net.

Your issue looks legit, I have looked through the axes.py Axes.draw method,
and there is no filtering based on the visibility toggle for anything but
images. Seems like it could be a very easy fix, would you be willing to
open an issue on the github tracker?
https://github.com/matplotlib/matplotlib/issues/new

Thanks again for raising this,

All the best,

Phil
--
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.2.0rc1 is cut

2012-09-13 Thread Russell E. Owen
In article <[email protected]>,
 Michael Droettboom  
 wrote:

> I have tagged and created a tarball for 1.2.0rc1.  The githash is 
> bda6dd9feab8.  The tarball is on the github download page here:
> 
> https://github.com/matplotlib/matplotlib/downloads

I have a Mac OS X 10.6, python.org 64-bit python 2.7 version ready. 

I have uploaded it here:

since I could not figure out how to upload it to the github page (I am 
logged in as r-owen but no sign of upload capability).

The test results look good to me, though the warning is a pity:

localhost$ python -c "import matplotlib as m ; m.test(verbosity=1)"
.
.
.SSS.K...K...
.
.
.
.
.
.
.
.
.
.
.
.
.../Library/F
rameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matpl
otlib/gridspec.py:298: UserWarning: This figure includes Axes that are 
not compatible with tight_layout, so its results might be incorrect.
  warnings.warn("This figure includes Axes that are not "
..
--
Ran 1188 tests in 474.571s

OK (KNOWNFAIL=2, SKIP=3)
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack
ages/matplotlib/__init__.py:997: UserWarning:  This call to 
matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

  warnings.warn(_use_error_msg)



I also tried to build a Mac OS X 10.3, python.org 32-bit python, but 
that failed. Any advice on how to proceed would be welcome. I have 
appended the build log.

-- Russell

Log of failed build for Mac OS X 10.3 (on Mac OS X 10.4) for python.org 
32-bit python 2.7.

d-173-250-206-120:/Archives/PythonPackages/matplotlib-1.2.0rc1 rowen$ 
python setup.py build
basedirlist is: ['/usr/local/', '/usr', '/usr/X11']
=
===
BUILDING MATPLOTLIB
   matplotlib: 1.2.0rc1
   python: 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 14:13:39)
   [GCC 4.0.1 (Apple Inc. build 5493)]
 platform: darwin

REQUIRED DEPENDENCIES
numpy: 1.6.2
freetype2: found, but unknown version (no pkg-config)

OPTIONAL BACKEND DEPENDENCIES
   libpng: found, but unknown version (no pkg-config)
  Tkinter: Tkinter: version not identified, Tk: 8.4, Tcl: 8.4
 Gtk+: no
   * Building for Gtk+ requires pygtk; you must be 
able
   * to "import gtk" in your build/install 
environment
  Mac OS X native: yes
   Qt: no
  Qt4: no
   PySide: no
Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
 dateutil: matplotlib will provide
 pytz: matplotlib will provide
adding pytz

OPTIONAL USETEX DEPENDENCIES
   dvipng: no
  ghostscript: /bin/sh: line 1: gs: command not found
latex: no

[Edit setup.cfg to suppress the above messages]
=
===
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 
'matplotlib.backends.qt4_editor', 'matplotlib.projections', 
'matplotlib.testing', 'matplotlib.testing.jpl_units', 
'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 
'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 
'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 
'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo']
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.7
copying lib/pylab.py -> build/lib.macosx-10.3-fat-2.7

Re: [matplotlib-devel] 1.2.0rc1 is cut

2012-09-13 Thread Eric Firing
On 2012/09/13 11:56 AM, Russell E. Owen wrote:
> building 'matplotlib.backends._macosx' extension
> gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g
> -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> -I/usr/local/include -I/usr/include -I/usr/X11/include
> -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
> ckages/numpy/core/include -I/usr/local/include -I/usr/include -I.
> -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
> ckages/numpy/core/include -Isrc -Iagg24/include -I.
> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c
> src/_macosx.m -o build/temp.macosx-10.3-fat-2.7/src/_macosx.o
> src/_macosx.m: In function 'show':
> src/_macosx.m:5763: error: nested functions are disabled, use
> -fnested-functions to re-enable
> src/_macosx.m:5763: error: syntax error before 'in'
> src/_macosx.m: At top level:
> src/_macosx.m:5768: error: parse error before 'PyObject'
> src/_macosx.m: In function 'show':
> src/_macosx.m:5763: error: nested functions are disabled, use
> -fnested-functions to re-enable
> src/_macosx.m:5763: error: syntax error before 'in'
> src/_macosx.m: At top level:
> src/_macosx.m:5768: error: parse error before 'PyObject'
> lipo: can't figure out the architecture type of: /var/tmp//ccI9WUN2.out
> error: command 'gcc-4.0' failed with exit status 1
> d-173-250-206-120:/Archives/PythonPackages/matplotlib-1.2.0rc1

It looks like this is failing on code introduced with PR #1036.

Eric

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel