質問編集履歴
2
情報の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,5 +21,10 @@
|
|
21
21
|
```ここに言語を入力
|
22
22
|
python test4.py -w
|
23
23
|
```
|
24
|
-
と( test4.pyはこのファイル名)実行したのですが実行したのですが同じエラー
|
24
|
+
と( test4.pyはこのファイル名)実行したのですが実行したのですが同じエラー
|
25
|
+
```ここに言語を入力
|
26
|
+
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/collections.py:608: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
|
27
|
+
if self._edgecolors_original != 'face':
|
28
|
+
```
|
29
|
+
が出ました。
|
25
30
|
どうしたらいいでしょうか?
|
1
情報の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,25 +9,17 @@
|
|
9
9
|
for t in range(4):
|
10
10
|
T.add_edge(t,t+1)
|
11
11
|
TimeSpace = nx.tensor_product(G,T)
|
12
|
-
|
12
|
+
nx.draw(TimeSpace)
|
13
|
+
plt.draw()
|
13
14
|
```
|
14
15
|
と書いて実行すると
|
15
16
|
```ここに言語を入力
|
16
|
-
|
17
|
+
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/collections.py:608: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
|
18
|
+
if self._edgecolors_original != 'face':
|
17
19
|
```
|
18
|
-
と出
|
20
|
+
とwarningが出ました。
|
19
21
|
```ここに言語を入力
|
20
|
-
import matplotlib.pyplot as plt
|
21
|
-
|
22
|
+
python test4.py -w
|
22
|
-
|
23
|
-
G=nx.MultiDiGraph()
|
24
|
-
G.add_edges_from([('A','B'),('A','C'),('A','A'),('B','B'),('C','C')])
|
25
|
-
T = nx.DiGraph()
|
26
|
-
for t in range(4):
|
27
|
-
T.add_edge(t,t+1)
|
28
|
-
TimeSpace = nx.tensor_product(G,T)
|
29
|
-
plt.show()
|
30
23
|
```
|
31
|
-
と書いて実行すると何も出力されませんでした。
|
32
|
-
|
24
|
+
と( test4.pyはこのファイル名)実行したのですが実行したのですが同じエラーが出ました。
|
33
|
-
|
25
|
+
どうしたらいいでしょうか?
|