How to colorize the ticklabels using host.parasite

I think you're looking at an old example. Have a look at this one:

http://matplotlib.sourceforge.net/examples/pylab_examples/multiple_yaxis_with_spines.html

Is that the desire effect?

Yes, thanks.

···

On Mon, Sep 27, 2010 at 14:15, Aman Thakral <aman.thakral@...287...> wrote:

Regards,

Aman

It did not though. I'm not sure why. Could someone please clarify?

On Mon, Sep 27, 2010 at 12:35 PM, Filipe Pires Alvarenga Fernandes > <ocefpaf@...287...> wrote:

I was wondering if there is a way to get a effect similar to this example:

http://matplotlib.sourceforge.net/examples/api/two_scales.html?highlight=codex%20two%20scale

Here The yticklabels have the same color as the label, but using
host/parasite:

http://matplotlib.sourceforge.net/examples/axes_grid/demo_parasite_axes2.html

I tried:

for tl in host.axis["right"].axis.axes.get_xticklabels():
tl.set_color('b')

without success.

Thanks, Filipe.

------------------------------------------------------------------------------
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Aman Thakral
B.Eng & Biosci, M.Eng Design