molPX
molPX copied to clipboard
performance of widget
I just noticed, that the callbacks for updating the widgets are executed for every movement of the mouse in the free energy landscape plot, no matter if the position is actually committed by click. This leads to degraded performance (maybe I should buy new hardware too). It should be possible to update only if something is really changed and we need to recompute/redraw.
Hi! There are many performance issues bugging me as well. I'm not very familiar with the %notebook backend for matplotlib, but I think that this is coming from the fact that by default it shows the pointer position as (x,y) double on the bottom of the plots, so it's redrawing everytime. We can look into this, but I would not wait for this for the release. let's leave this open
Maybe one can disable this "show position" feature.
Was looking into that this morning. Matplotlib documentation on the %notebook backend is scarce. There are other "interactive" backends that we can try out (tried some with much sucess).
More pressing issues right now, but still, this is important, thanks for pointing it out.
On 09.03.2017 14:14, Martin K. Scherer wrote:
Maybe one can disable this "show position" feature.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/markovmodel/molPX/issues/6#issuecomment-285348078, or mute the thread https://github.com/notifications/unsubscribe-auth/AHK3NJu595a1QVO-p3cZvQWqvxqTDYuuks5rj_tTgaJpZM4MXc2Y.