Sorry. That's my bad. I accidentally committed some testing code for
log-scaled quad meshes (which works for Agg, but not for other
backends). I'll revert the example, and see what's breaking.
Cheers,
Mike
John Hunter wrote:
> Anyone have any idea what changes may be causing this new bug in
> quadmesh on non agg backends?
>
> [EMAIL PROTECTED]:mpl> python examples/pylab_examples/quadmesh_demo.py -dPS
> Traceback (most recent call last):
> File "examples/pylab_examples/quadmesh_demo.py", line 47, in <module>
> savefig("quadmesh_demo")
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/pyplot.py",
> line 306, in savefig
> return fig.savefig(*args, **kwargs)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/figure.py",
> line 1043, in savefig
> self.canvas.print_figure(*args, **kwargs)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backend_bases.py",
> line 1301, in print_figure
> **kwargs)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_ps.py",
> line 840, in print_ps
> return self._print_ps(outfile, 'ps', *args, **kwargs)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_ps.py",
> line 869, in _print_ps
> orientation, isLandscape, papertype)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_ps.py",
> line 943, in _print_figure
> self.figure.draw(renderer)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/figure.py",
> line 842, in draw
> for a in self.axes: a.draw(renderer)
> File "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/axes.py",
> line 1549, in draw
> a.draw(renderer)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/collections.py",
> line 533, in draw
> self._showedges)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backend_bases.py",
> line 153, in draw_quad_mesh
> meshWidth, meshHeight, coordinates)
> File
> "/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/collections.py",
> line 484, in convert_mesh_to_paths
> ), axis=2)
> File "/home/jdhunter/dev/lib64/python2.5/site-packages/numpy/ma/core.py",
> line 1307, in __array_finalize__
> self._mask.shape = self.shape
> AttributeError: incompatible shape for a non-contiguous array
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel