LeslieZhu/OrgNote

似乎无法嵌入代码生成的图片?

allenwoods opened this issue · 0 comments

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生成的网页如下:
image
使用OrgNote生成结果:
image
且此时orgnote server无法使用,生成的index.html也不完整。不知道这个应该怎么解决呢?