On 8 Aug 2008, at 8:42 PM, Michael McNeil Forbes wrote: > While revisiting some old plotting code, I ran across the following > change in behaviour that seems to be buggy. > > from pylab import * > ion() > clf() > x = linspace(0,1,10) > plot(x,x**2,'r') > a = gcf().add_axes([0.5,0.6,0.3,0.3]) > a.set_axis_bgcolor(None) > draw() > > The inset axes appear blue, whereas before this used to make the > axes transparent (no background). > > This changed between r5047 and r5048. (I have not had a chance to > look at the code yet.) What is the intended way to allow for > "transparent" inset axes?
Okay, looking at the changes I figured this out: a.set_axis_bgcolor('none') Michael. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users