That is correct. The problem description is one thing. The test suite is another. The test suite explicitly accommodates solutions that do not plot the graph. Since this took extra effort to incorporate into the test suite, I view my solution as fully within the scope and intent of this problem.
Nice solution. I was waiting for someone to use this particular function. I'm surprised its first use was on the matrix version. It takes a little extra work to use it like this.