[examples] Fix plot test on minimal installations

Merged Kilian Weishaupt requested to merge fix/ldc-plot-test into master

Merge request reports