PyLab - changing text color and background fill color of text box

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-03-20T18:43:32Z Indexed on 2010/03/20 19:11 UTC
Read the original article Hit count: 381

Filed under:
|

Hey all, I'm using PyLab to make some graphs in Python. I want to make a text box that is colored magenta with black text, but cannot get the text to be black.

text(x, y, 'Summary', backgroundcolor = 'm', color = 'k')

This gives me a magenta background and then text that is almost just as pink. Any ideas what I'm doing wrong?

Many thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about pylab