質問編集履歴

1

情報の修正

2017/11/29 03:49

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -28,23 +28,13 @@
28
28
 
29
29
  return array
30
30
 
31
- xlist = [results[0].weight,results[1].weight,results[2].weight]
31
+ xlist = [3,4,5]
32
32
 
33
- ylist =[results[0].height,results[1].height,results[2].height]
33
+ ylist =[2,5,6]
34
34
 
35
35
  plt.plot(xlist, ylist,color="red",marker="x", markersize=15, markeredgewidth=4, linewidth=0)
36
36
 
37
- plt.xlim(0,180)
38
-
39
- plt.ylim(0, 230)
40
-
41
- plt.xlabel(u"身長")
42
-
43
- plt.ylabel(u"体重")
44
-
45
- plt.fill_between(x=[0,80],y1=0,y2=120, facecolor='yellow', alpha=0.08)
46
-
47
- plt.fill_between(x=[0,85], y1=0, y2=130, facecolor='yellow', alpha=0.2)
37
+ plt.fill_between(x=np.arange(0, 5, 0.01), y1=0, y2=5, facecolor='yellow', alpha=0.2))
48
38
 
49
39
  jpg_image_buffer = cStringIO.StringIO()
50
40