On Wed, Nov 9, 2011 at 7:37 AM, Brent Pedersen <bpede...@gmail.com> wrote:
> Hi,
> I have an image like this:
> https://docs.google.com/open?id=0B7eMlcFeoB_rMTU1OTU0NmMtMzM3MC00YWI3LWFlNTYtNzg0MTM4MWI3OWMz
>
> with an axes inside of another. I'd like to set the background behind
> the labels of the inner figure.
> I've tried set_frame_on on the axis, set_frameon on the figure,
> axisbg_color, and so on.

Would it be sufficient to set the background color behind the text
labels? If 'ax' is your inner axes, do:

ax.yaxis.label.set_backgroundcolor('red')
ax.xaxis.label.set_backgroundcolor('red')

best,
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to