質問編集履歴

1

エラーメッセージを全文貼り付けました。

2021/01/21 07:05

投稿

oswald
oswald

スコア2

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,70 @@
5
5
 
6
6
 
7
7
  ### 発生している問題・エラーメッセージ
8
+
9
+ ValueError Traceback (most recent call last)
10
+
11
+ <ipython-input-37-ae5de46a8aa2> in <module>
12
+
13
+ ----> 1 plt.polar(phi, sigma(f, -10, 10))
14
+
15
+
16
+
17
+ ~\anaconda3\lib\site-packages\matplotlib\pyplot.py in polar(*args, **kwargs)
18
+
19
+ 2321 'that does not have a polar projection.')
20
+
21
+ 2322 ax = gca(polar=True)
22
+
23
+ -> 2323 ret = ax.plot(*args, **kwargs)
24
+
25
+ 2324 return ret
26
+
27
+ 2325
28
+
29
+
30
+
31
+ ~\anaconda3\lib\site-packages\matplotlib\axes\_axes.py in plot(self, scalex, scaley, data, *args, **kwargs)
32
+
33
+ 1741 """
34
+
35
+ 1742 kwargs = cbook.normalize_kwargs(kwargs, mlines.Line2D)
36
+
37
+ -> 1743 lines = [*self._get_lines(*args, data=data, **kwargs)]
38
+
39
+ 1744 for line in lines:
40
+
41
+ 1745 self.add_line(line)
42
+
43
+
44
+
45
+ ~\anaconda3\lib\site-packages\matplotlib\axes\_base.py in __call__(self, data, *args, **kwargs)
46
+
47
+ 271 this += args[0],
48
+
49
+ 272 args = args[1:]
50
+
51
+ --> 273 yield from self._plot_args(this, kwargs)
52
+
53
+ 274
54
+
55
+ 275 def get_next_color(self):
56
+
57
+
58
+
59
+ ~\anaconda3\lib\site-packages\matplotlib\axes\_base.py in _plot_args(self, tup, kwargs)
60
+
61
+ 377 # element array of None which causes problems downstream.
62
+
63
+ 378 if any(v is None for v in tup):
64
+
65
+ --> 379 raise ValueError("x, y, and format string must not be None")
66
+
67
+ 380
68
+
69
+ 381 kw = {}
70
+
71
+
8
72
 
9
73
  ValueError: x, y, and format string must not be None
10
74