On Sep 29, 2010, at 1:06 PM, Jeremy Lounds wrote: > Hello again, > > I am not sure if this is a matplotlib question, or a basemap one. The > sample code I found on Google for this either broke my script or > didn't change the end result. > > I am attempting to turn the border (frame?) off altogether. Here is > the script, with some sections kept out for brevity:
I'm assuming you're talking about turning off the frame around each axes (but maybe you're talking about something else?). The "frameon" attribute in your example code alters the background of the figure canvas, not the borders surrounding each axes. There's probably a shorter way, but I have a small function that I use to turn off the frame or border around an axes. def clear_frame(ax=None): if ax is None: ax = plt.gca() ax.xaxis.set_visible(False) ax.yaxis.set_visible(False) for spine in ax.spines.itervalues(): spine.set_visible(False) Best, -T ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel