gregsexton / ob-ipython

org-babel integration with Jupyter for evaluation of (Python by default) code blocks
737 stars 111 forks source link

Specifying stable filename for images #181

Open tohojo opened 6 years ago

tohojo commented 6 years ago

Would it be possible to add an option to have stable image file names for the output of a source block? For instance, if a source block has a #+NAME of 'my-calculation', then any output graph would be saved as 'my-calculation.svg'.

This would make it easier to reuse figure output in other sources, e.g., in a publication.

amirdib commented 5 years ago

Use :ipyfile path

tohojo commented 5 years ago

Great, thanks! I'll give that a shot :)