标签: python
当我使用Python的QuTiP生成一个简单的Bloch球体时,我可以将数字保存为.png或.pdf:
from qutip import * b = Bloch() b.show() bb = b.fig bb.savefig('Bloch.png') bb.savefig('Bloch.pdf')
生成的文件完全不同。 .png看起来像:
而.pdf显示更深的线条:
有没有办法让.pdf数字看起来更像.png?
答案 0 :(得分:0)
问题出在我使用Foxit的PDF查看器上,它们是相同的: press the link to see the image