>
> On that assumption, I tried changing the legend to be associated with the
> right Y axis:
>
> if a legend is requested:
>     labels = [line.get_label() for line in lines]
>     if I have right axis data to plot:
>         right_plot.legend(lines, labels).draggable(True)
>     else:
>         left_plot.legend(lines, labels).draggable(True)
>
> Again, the legend displays properly, but can't be dragged.
>

Belay that. The above change does work around the problem. Still, would be
nice if this worked no matter which Y axes were used.

Skip
​​
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to