On Tue, Jul 22, 2008 at 4:28 PM, Jonathan Hayward
http://JonathansCorner.com <[EMAIL PROTECTED]> wrote:
> On the two routines I'm modifying from examples, boundaries and borders are
> generally a hefty black.
>
> How can I control color and/or thickness and/or turn off items like
> boundaries that are drawn in black?

There are two borders in question, the figure border and the axes
border.  Both are rectangle instances.  You can control the figure
border with the figurePatch instance

fig.figurePatch.set_edgecolor('white')
fig.figurePatch.set_linewidth(0.5)

and similarly for the axes axesFrame instance

ax = axes([left, bottom, width, height])
ax.axesFrame.set_edgecolor('red')
ax.axesFrame.set_linewidth(0.5)

You can make the frame invisible in a few different ways:

 * set the edgecolor to be the same as the face color
 * set the linewidth to 0
 * set the visible property to False (ax.axesFrame.set_visible(False))

JDH

-------------------------------------------------------------------------
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
  • [Matplotlib-users]... "Jonathan Hayward http://JonathansCorner.com"
    • Re: [Matplotl... John Hunter
      • Re: [Matp... "Jonathan Hayward http://JonathansCorner.com"
      • Re: [Matp... "Jonathan Hayward http://JonathansCorner.com"
        • Re: [... John Hunter
          • R... "Jonathan Hayward http://JonathansCorner.com"

Reply via email to