hi,
plotters and viewers are meant to be used outside of Rhino. they rely on matplotlib
and that is not available in IronPython, which is the implementation of Python Rhino uses to execute Python code.
try running your code in VS Code or some other Python editor. there it should work…
let me know if you need more detailed instructions