I have a small program that basically performs all kinds of statistical calculations and prints the results and graphs.
Currently, a convenient way to get good pdf output from my program is to run my code in Jupyter IPython Notebook using the magic% matplotlib inline command and save it in pdf format by executing "PDF via LaTex (.pdf)"
But the problem is that I have to do this every time I run the program. In addition, I cannot deliver the program as a binary executable to other people, which is my ultimate goal.
Is there any way to do this programmatically? Just to make it clear, all I need is the output of my program in pdf format, so when I run the executable file, the output will be pdf. I do not want the end user to create an ipython notebook. The end user will not have access to the source code.

source
share