Note
Go to the endto download the full example code or to run this example in your browser via JupyterLite or Binder.
SyntaxError#
Example script with invalid Python syntax
Traceback (most recent call last): File"/home/circleci/project/examples/no_output/plot_syntaxerror.py", line12InvalidPythoncode^^^^^^SyntaxError:invalid syntax
"""Example with SyntaxError========================Sphinx-Gallery uses Python's AST parser, thus you need to have writtenvalid python code for Sphinx-Gallery to parse it. If your script has aSyntaxError you'll be presented the traceback and the original code."""# Code source: Óscar Nájera# License: BSD 3 clauseInvalidPythoncode
Total running time of the script: (0 minutes 0.003 seconds)
Estimated memory usage: 677 MB