[Matplotlib-users] pylab_examples image_clip_path.py not working for pdf

2009-02-26 Thread Haibao Tang
See http://matplotlib.sourceforge.net/examples/pylab_examples/image_clip_path.html ... and click on pdf Any ideas? Haibao -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the

[Matplotlib-users] imshow with pdf

2008-12-15 Thread Haibao Tang
I have raised two issues on imshow with pdf backend weeks ago since the upgrade from 0.91 to 0.98. I am happy to see one of them already fixed. However, the following issue is still there. In the following script, I try to display an image in a pdf. This would run. Now please change the maize.pdf

[Matplotlib-users] Glossy buttons

2008-10-15 Thread Haibao Tang
Dear folks, I wrote an ad-hoc script to generate buttons that have the 'glossy' effect. The implementation is fairly straightforward and did work -- the buttons themselves are rectangles with rounded corners so I call a polygon patch. The light is simulated using a white, transparent ellipse. But

Re: [Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-25 Thread Haibao Tang
0.98. I suspect that there is more compression for pdf in 0.98, but I am not clear how to reset it. On Thu, Sep 25, 2008 at 9:37 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Sep 24, 2008 at 2:16 PM, Haibao Tang <[EMAIL PROTECTED]> wrote: > > > for k in cm_keys: &g

[Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-24 Thread Haibao Tang
Hi all, I have some broken scripts recently due to the upgrade from 0.91 to 0.98, most of them related to the imshow function. For example, when I run the following script, from matplotlib.cm import * from pylab import * figure(1, (8, 10))