質問編集履歴

1

不十分な点を補いました。

2018/11/27 21:19

投稿

firstlast
firstlast

スコア138

test CHANGED
File without changes
test CHANGED
@@ -16,13 +16,13 @@
16
16
 
17
17
  import matplotlib.pyplot as plt
18
18
 
19
+ #matplotlib inline
20
+
19
21
  x = np.random.rand(100, 1)
20
22
 
21
23
  y = 5 + 3 * x + np.random.rand(100, 1)
22
24
 
23
25
  plt.scatter(x, y)
24
-
25
-
26
26
 
27
27
  ```
28
28
 
@@ -36,6 +36,10 @@
36
36
 
37
37
 
38
38
 
39
+ また、上記ソースの#matplotlib inlineの行を削除して実行しても、グラフがインラインで出力されます。書かなくてもいいものをわざわざ書いているのでしょうか?
40
+
41
+
42
+
39
43
  ### 補足情報
40
44
 
41
45
  Windows10