Damien Bathory, on 2011-01-11 15:27,  wrote:
> Hi All.
> ...
> I want to change the color of the ticklines set by set_thetagrids(), but I
> am not having any luck.
> ( See black instead of green ticklines here:
> http://i1234.photobucket.com/albums/ff405/dbathory/circum.png )
> 
> Should I be able manipulating the ticklines in this way after calling
> set_theagrids?
> 
> for line in ax.xaxis.get_ticklines():
>     line.set_color('g')
> 
> I've also tried using the tick_params() call to set the default tickline
> color, with no luck.
> I've tried this on matplotlib v1.00 and v98.1, with the same results (black
> instead of green).

Hi Damien,

Those aren't ticks, those are grid lines (verify by pressing 'g'
after selecting the axes to toggle the grid on and off).

  ax.grid(color='green')

is what you can use to set the grid line color (and other aspects, like
linewidth, linestyle, alpha, etc).

hope that helps,
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to