add template folder and hooks
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#! /usr/bin/python3
|
||||
|
||||
"""Example File"""
|
||||
|
||||
import sys
|
||||
import argparse as ap
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
import scipy.optimize as opt
|
||||
|
||||
plt.style.use("ggplot")
|
||||
p = ap.ArgumentParser()
|
||||
p.add_argument(
|
||||
"-o", "--outdir", default="out", help="Direcotry to output generated files to"
|
||||
)
|
||||
|
||||
args = p.parse_args()
|
||||
|
||||
OUTDIR = args.outdir
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
plt.plot([0, 10], [10, 0])
|
||||
|
||||
plt.savefig(OUTDIR + "/out1.pdf")
|
||||
Reference in New Issue
Block a user