似乎无法嵌入代码生成的图片?
allenwoods opened this issue · 0 comments
allenwoods commented
org文件中嵌入如下代码:
#+BEGIN_SRC python :results file :exports both
import matplotlib, numpy
matplotlib.use('Agg')
import matplotlib.pyplot as plt
filename = 'python-matplot-fig.png'
fig=plt.figure(figsize=(4,2))
x=numpy.linspace(-15,15)
plt.plot(numpy.sin(x)/x)
fig.tight_layout()
plt.savefig(filename)
return filename # return filename to org-mode
#+END_SRC
Emacs生成的网页如下:
使用OrgNote生成结果:
且此时orgnote server
无法使用,生成的index.html也不完整。不知道这个应该怎么解决呢?