[matplotlib-devel] Question about Collections and ScalarMappables

2011-06-22 Thread Benjamin Root
Hello all,

I am trying to track down an odd bug I found in mplot3d and I need some help
in understanding some core parts of matplotlib.  The issue is that when one
colors scatterpoints in mplot3d with a colormap, then the points looses the
colors after any sort of interaction.  I traced the problem down to the
Patch3DCollection object assuming that all color data will be stored as part
of facecolors and edgecolors.  However, this does not appear to be the case
when using a colormap.

Because Patch3DCollection wants to modify the alpha value of the scatter
points based on the distance the points are from the "camera", I need/want a
consistent spot for modifying the alpha values on each draw.  Is there some
sort of standard way to make the colormap data end up in the
facecolor/edgecolor members?  Or am I going to have to code for each case?
If the latter, what is the appropriate test to know which situation is going
on?

Thanks,
Ben Root
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] EPS export broken in HEAD?

2011-06-22 Thread Fernando Perez
Hi Mike,

On Tue, Jun 21, 2011 at 6:07 AM, Michael Droettboom  wrote:
> Can you move away your ~/.matplotlib/fontList.cache file (to force a
> regeneration) and see if that resolves the problem?  If so, I'd like to
> see the original broken fontList.cache file to see if I can get to the
> bottom of what's wrong with it.

here's the files from the machine that showed the problem:

http://fperez.org/tmp/fontList.cache
http://fperez.org/tmp/matplotlibrc

I hope they help you track down what can be happening, and perhaps a
layer of protection can be added to mpl so that it recovers gracefully
from this condition.

Cheers,

f

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] FYI: SVG with option "svgfont" enabled hangs inkscape

2011-06-22 Thread Dieter Weber
Hi,
it's not directly a problem with matplotlib, but I just wanted to let
you know that SVGs generated with 

matplotlib.rcParams['svg.fonttype'] = 'svgfont'

hang inkscape .

Greetings,
Dieter


--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel