|
From: John H. <jdh...@ac...> - 2005-02-21 00:58:36
|
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
Darren> I am displaying some images and overlaying a scalebar. The
Darren> image on the screen displays the requested white text and
Darren> bar, but they are black in the eps image.
Hi Darren,
I'm having trouble replicating the problem. Make sure you have an
up-to-date matplotlib. For example, in CVS, I get the expected
behavior in agg and ps with
from pylab import *
subplot(111, axisbg='red')
text(0.5, 3.5,'this is black', color=0)
text(0.5, 2.5,'this is black', color='k')
text(0.5, 1.5,'this is white', color=1)
text(0.5, 0.5,'this is white', color='w')
axis([0,2,0,4])
savefig('test.ps')
show()
If you are still having troubles, please submit a complete test
script, and the output of --verbose-helpful when you run it.
Is it possible you have a pre 0.72 CVS? There were a couple of bugs I
introduced into PS CVS before the last release, but I think I cleaned
them up.
Hope this helps,
JDH
|