def get_fig_latex(path, caption, label):
    """returns latex figure section"""
    template = '''\\begin{figure}[!ht]
              \\centering
              \\includegraphics[width=1.0\\textwidth]{%(path)s}
              \\caption{%(caption)s}
              \\label{%(label)s}
            \\end{figure}
            '''
    data = dict(path=path, caption=caption, label=label)
    return template % data