The request to rebuild against wxWidgets GTK 3 (#933431) recommends to also look at bug #900678 (wxwidgets3.0: wxGLCanvas doesn't work with Wayland). As suggested, I ran gnuplot after setting GDK_BACKEND=x11. This fixed the issue. The plot window is updated immediately.