|
From: bhargav v. <coo...@gm...> - 2014-09-25 20:53:13
|
Hello, I was currently looking into the new plot directive Sphinx extension that comes with matplotlib. My purpose is to use it for documentation of examples for my source code. However, I wish to just have html figure links only to PNG and Hires PNG files and no link for the PDF files. I looked into the plot_directive.py and saw that the plot_formats are set to have default value of [‘png’, ‘hires.png’, ‘pdf’] which can not be configured , at least I was not able to do the same. Can any one suggest if I can choose the plot formats whose link I would like to show when I use the plot directive Sphinx Extension. Are there any plans to make the "plot formats” configurable ? Regards Bhargav. |