your document runs without error for me and produces a diagonal line.
just using luamplib from texlive 2016 (with luatex 1.01, but I don't
think that's making any difference here)

Reply via email to