pbfy0 / visvis

Automatically exported from code.google.com/p/visvis
Other
0 stars 0 forks source link

Text example fails with WX backend #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The text.py example is supposed to open two figures and put text on both of 
them.  This works for me with the GTK backend.  But with the WX backend, the 
first figure gets the text from the second figure and the label from the first, 
while the second figure stays completely empty.  (Presumably the text from the 
first figure was written to the first figure, but then the cla() acted on that 
figure and got rid of it.)

Note that I can make multiple figures with the WX backend interactively just 
fine.  Perhaps the problem has something to do with creating multiple figures 
before the main loop is started.

Original issue reported on code.google.com by rschr...@gmail.com on 21 Jul 2012 at 3:02

GoogleCodeExporter commented 9 years ago
Strange, but I cannot reproduce it. Everything works fine here...

Original comment by almar.klein@gmail.com on 1 Aug 2012 at 10:24

GoogleCodeExporter commented 9 years ago
It could very well be a WX issue.  I'm using 2.8.12.1-6ubuntu2 on Ubuntu 12.04, 
with the wxGTK library.

Original comment by rschr...@gmail.com on 2 Aug 2012 at 2:00

GoogleCodeExporter commented 9 years ago
Woops, I somehow I assumed Windows. On Linux I have the same problem.

Original comment by almar.klein@gmail.com on 2 Aug 2012 at 9:18

GoogleCodeExporter commented 9 years ago
Ah, something to do with a DrawNow call which maked OnFocus of the *previous* 
figure be called, so that the wrong figure is made current, at the wrong moment.

Original comment by almar.klein@gmail.com on 2 Aug 2012 at 9:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 01571b9c2615.

Original comment by almar.klein@gmail.com on 2 Aug 2012 at 9:40