fipy
fipy copied to clipboard
Focus change of plot windows upon refreshing
Hi again,
I just want to point out that in the developer version of FiPy, the plot windows keep switching focus when refreshing each plot with viewer.plot(). Is there a way to keep the previous behaviour where the focus does not change ?
Thanks
Can you provide more information?
- What platform?
- What steps to reproduce?
So I'm using FiPy from developer branch (as of 5th nov. 2018) installed on Ubuntu 18.04. Whenever I use a script with several viewers, the focus shifts to the plot window that is being drawn, repeating at each time step. Thus the windows keep shifting rapidly which a bit inconvenient. This happens with all of my scripts with multiple plot windows. Note that I'm not using "MultiViewers", but simply different viewers (including one similar to the dendrite viewer, but this happens whatever the viewer it seems). I do not observe this behavior with fipy-3.1.3.
Not sure if that's enough information, I can try to give you more if needed but there isn't much to it, I suppose you should readily see that behavior if you have various plots being drawn successively, say at each timestep. If not then something is wrong on my side but I don't see what as it otherwise seems to work nicely. And I'm not sure it's actually a bug, it's just that fipy-3.1.3 does not behave that way and that's how I preferred it
If I had to guess, this is probably a consequence of the fix to the issue you observed in #610. If so, I doubt there's much we can do about it.
I'll try to find time to diagnose.