質問編集履歴

3

使用環境の追加

2020/08/07 06:21

投稿

s1920897
s1920897

スコア14

test CHANGED
File without changes
test CHANGED
@@ -10,6 +10,14 @@
10
10
 
11
11
 
12
12
 
13
+ OS:win10
14
+
15
+ python3.8
16
+
17
+ anadonda3を利用しています。
18
+
19
+
20
+
13
21
  以下がエラー文になります。
14
22
 
15
23
  Traceback (most recent call last):

2

エラー文の訂正

2020/08/07 06:21

投稿

s1920897
s1920897

スコア14

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  以下がエラー文になります。
14
14
 
15
- > Traceback (most recent call last):
15
+ Traceback (most recent call last):
16
16
 
17
17
  File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 230, in saving
18
18
 

1

エラー文の訂正

2020/08/07 06:17

投稿

s1920897
s1920897

スコア14

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,55 @@
12
12
 
13
13
  以下がエラー文になります。
14
14
 
15
+ > Traceback (most recent call last):
16
+
17
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 230, in saving
18
+
19
+ yield self
20
+
21
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 1152, in save
22
+
23
+ writer.grab_frame(**savefig_kwargs)
24
+
25
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 568, in grab_frame
26
+
27
+ self._frames.append(Image.frombuffer(
28
+
29
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\PIL\Image.py", line 2706, in frombuffer
30
+
31
+ im = im._new(core.map_buffer(data, size, decoder_name, 0, args))
32
+
33
+ ValueError: buffer is not large enough
34
+
35
+
36
+
37
+ During handling of the above exception, another exception occurred:
38
+
39
+
40
+
41
+ Traceback (most recent call last):
42
+
43
+ File "try2.py", line 116, in <module>
44
+
45
+ ani.save('時刻歴温度分布,T=60,D=1,dt=0.1,dx=2.gif', writer='pillow')
46
+
47
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 1152, in save
48
+
49
+ writer.grab_frame(**savefig_kwargs)
50
+
51
+ File "C:\Users\kstkh\anaconda3\lib\contextlib.py", line 131, in __exit__
52
+
53
+ self.gen.throw(type, value, traceback)
54
+
55
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 232, in saving
56
+
57
+ self.finish()
58
+
59
+ File "C:\Users\kstkh\anaconda3\lib\site-packages\matplotlib\animation.py", line 574, in finish
60
+
61
+ self._frames[0].save(
62
+
15
- > IndexError: list index out of range
63
+ IndexError: list index out of range
16
64
 
17
65
 
18
66