Jason,

Try adding a pyqt property 'facecolor' to your widget.
(This way you can set it also through the designer.)

Add something like this to the widget's __init__ method:

figFacecolor = QtCore.pyqtProperty(str, getfigfacecolor,
                                setfigfacecolor, resetfigfacecolor)

And then define the three methods.

Nadia
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to