From: Benjamin R. <ben...@ou...> - 2011-09-28 13:26:45
|
On Wednesday, September 28, 2011, Klonuo Umom <kl...@gm...> wrote: > Please consider: > > plot([1, 2, 3, 4], label='line 1') > twinx() > plot([11, 12, 11, 14], label='line 2') > legend() > > will draw only label for 'line 2' > > plot([1, 2, 3, 4], label='line 1') > legend() > twinx() > plot([11, 12, 11, 14], label='line 2') > legend() > > same result, as it will overwrite label 'line 1' with label 'line 2' > How to deal with this, without manually positioning legends and if possible including all annotated plot lines in one legend? > > Thanks Could you file a bug report on this on github? Unfortunately, I think the problem is going to be fairly complicated to solve. Thanks! Ben Root |