|
From: \Jonathan H. http://JonathansCorner.com\
<jon...@po...> - 2008-07-24 18:24:57
|
Thank you! On Thu, Jul 24, 2008 at 12:40 PM, John Hunter <jd...@gm...> wrote: > On Thu, Jul 24, 2008 at 11:53 AM, Jonathan Hayward > http://JonathansCorner.com <jon...@po...> 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 > -- -- Jonathan Hayward, chr...@gm... ** To see an award-winning website with stories, essays, artwork, ** games, and a four-dimensional maze, why not visit my home page? ** All of this is waiting for you at http://JonathansCorner.com ++ Would you like to curl up with one of my hardcover books? ++ You can now get my books from http://CJSHayward.com |