On Wed, Sep 29, 2010 at 1:21 PM, Tony S Yu <tsy...@gmail.com> wrote: > > On Sep 29, 2010, at 1:06 PM, Jeremy Lounds wrote: > >> 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
Hi Tony, Thanks, that works pretty good! However... it seems that "drawcoastlines" creates a border if I am not "zoomed out" far enough. (i.e., the coastline is out of bounds). Do you know how I could turn that off? Thanks again! ~ Jeremy ------------------------------------------------------------------------------ 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