Plot over line visibility quirks
The line widget is not visible when the view in which it is defined is not active. This makes it a bit tricky to relate the plot to the actual line set in the 3D scene.
This issue is extracted from #15836 (closed), so we can tackle this independently.