joferkington / mpldatacursor

Interactive "data cursors" (a.k.a. annotation pop-ups) for matplotlib
MIT License
194 stars 47 forks source link

jupyterlab (ipympl?): Odd rendering artifacts (pixelation, dirty rectangles)? #105

Open EricCousineau-TRI opened 3 years ago

EricCousineau-TRI commented 3 years ago

First off, thanks for this awesome stuff! (and thanks to @benburchfiel-tri for showing it to me!)

One minor thing - I notice that there're small rendering artifacts when using %matplotlib widgets.

You can see exact requirements, code, mp4 + gif video here: https://github.com/EricCousineau-TRI/repro/tree/098b84a0/python/jupyter_and_mlpdatacursor

Here's a screencap of the "artifacts": From 0m:30s of video, "dirty rectangle": image From 0m:46s of video, pixelation: image

These artifacts seems to disappear on either a double-click, or if I resize the widget.