質問編集履歴
1
plt.show()を入れていましたが、入れても入れなくてもブランクの画像が保存されてしまいます。
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,6 @@
|
|
17
17
|
|
18
18
|
fig=plot_chromaticity_diagram_CIE1931(bounding_box=(-0.1, 1.0, -0.1, 1.0), standalone=False, figsize=(85/25.4, 85/25.4))
|
19
19
|
render(standalone=True)
|
20
|
-
plt.show()
|
21
20
|
plt.savefig("Chrome-test.pdf") #→ブランク画像が保存される。
|
22
21
|
plt.savefig("Chrome-test.jpeg") # 同上
|
23
22
|
plt.savefig("Chrome-test.png") # 同上
|