回答編集履歴
1
追記
answer
CHANGED
@@ -1,1 +1,4 @@
|
|
1
|
-
コピペで動きました。全角の空白とかインデントミスとか紛れてませんか。
|
1
|
+
コピペで動きました。全角の空白とかインデントミスとか紛れてませんか。
|
2
|
+
|
3
|
+
それか、jupyter notebook以外の環境で使っているとか?
|
4
|
+
[%matplotlib line magic causes SyntaxError in Python script](https://stackoverflow.com/questions/35595766/matplotlib-line-magic-causes-syntaxerror-in-python-script)
|