# Revision history [back]

As indicated by @FrédéricC, make sure your input does not include previous output results. Here's an example on the SageMathCell server showing just the three inputs and the final graph. This server does not show the sage: command line prompt, but that should be the only difference from what you're doing.

You can also copy all three inputs on one line if you include semicolons between them, as in this example.

I've learned through trial and error that you don't need Python line continuation indicators when the arguments of a SageMath function take multiple line. In your case it's the backslashes "\" in the definition of M, which I've removed just to make it look a bit cleaner.