Jae-Joon Lee wrote:
> Hi Erick,
>
> Is there any particular reason to introduce _xaxison and _yaxison,
> instead of using set_visible(False) on the xaxis and yaxis? Just
> wondering..
Good catch--I just didn't think of it. That is a much better solution.
I'll do it shortly.
Thank you.
Eric
Hi Erick,
Is there any particular reason to introduce _xaxison and _yaxison,
instead of using set_visible(False) on the xaxis and yaxis? Just
wondering..
-JJ
On Sat, Feb 28, 2009 at 1:52 PM, Eric Firing wrote:
> Christoffer Aberg wrote:
>> Hi all,
>>
>> I have noticed a funny behaviour when u
Christoffer Aberg wrote:
> Hi all,
>
> I have noticed a funny behaviour when using twinx to do two plots on the
> same axes: the xticklabels are printed twice, once for each axes. This
> shows up as slightly thicker labels than for a single axes. It is
> particularly visible for ps or pdf output,
David,
This seems to work for me:
(here ax2 is the second axis)
The only work around I can see is to add
for tl in ax2.get_xticklabels():
tl.set_visible(False)
To prevent the ticklines being drawn twice I guess we should also do
for tline in ax2.get_xticklines():
tline.set_visible(False)
I'd also be interested in a workaround. I tried to remove the tick labels
from the second axe, but it also removed the labels from the first axe.
Thanks,
David
On Sun, Feb 8, 2009 at 9:14 AM, Christoffer Aberg <
christoffer.ab...@fkem1.lu.se> wrote:
> Hi all,
>
> I have noticed a funny behaviou
Hi all,
I have noticed a funny behaviour when using twinx to do two plots on the
same axes: the xticklabels are printed twice, once for each axes. This
shows up as slightly thicker labels than for a single axes. It is
particularly visible for ps or pdf output, but can be seen also in an
interactiv