On Thu, Jul 24, 2008 at 11:53 AM, Jonathan Hayward
http://JonathansCorner.com <[EMAIL PROTECTED]> wrote:
> How do I control and/or remove the black tick marks on a bar chart? I've
> turned off most of the other black material on boundaries, but these ones
> are still there (see attached image).

You can make the tick lines invisible like so

for line in ax.get_xticklines() + ax.get_yticklines():
    line.set_visible(False)

This is presuming you want ticklabels but not lines.  If you are
willing to dispense with both, it is easier to simply

  ax.set_xticks([])
  ax.set_yticks([])

The various properties of the tick are discussed at the end of the
artist tutorial
http://matplotlib.sourceforge.net/doc/html/users/artists.html

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

Reply via email to