注意
最後まで進んで完全なサンプルコードをダウンロードするか、JupyterLiteまたはBinderによりブラウザでこの例を実行します
SyntaxError#
Pythonの構文に問題がある例のスクリプト
Traceback (most recent call last):
File "/home/circleci/project/examples/no_output/plot_syntaxerror.py", line 12
Invalid Python code
^^^^^^
SyntaxError: invalid syntax
"""
Example with SyntaxError
========================
Sphinx-Gallery uses Python's AST parser, thus you need to have written
valid python code for Sphinx-Gallery to parse it. If your script has a
SyntaxError you'll be presented the traceback and the original code.
"""
# Code source: Óscar Nájera
# License: BSD 3 clause
Invalid Python code
スクリプトの総実行時間: (0分 0.003秒)
推定メモリ使用量: 543 MB