예제 #1
0
def write_plots():
    """Write monthly graphs as *.png plots with markdown showcase file and as a PDF file."""       
    print("Reading stored data...")
    df = get_dfm()
    
    # png images    
    print("Writing .png images...")
    write_png_pictures(df)   
    
    # md file
    print("Writing markdown (.md) showcase file with images...")
    generate_md(df)
    
    # PDF output
    print("Writing PDF file...")
    write_monthly_pdf()
    
    print("Done.")
예제 #2
0
def write_plots():
    """Write monthly graphs as *.png plots with markdown showcase file and as a PDF file."""
    print("Reading stored data...")
    df = get_dfm()

    # png images
    print("Writing .png images...")
    write_png_pictures(df)

    # md file
    print("Writing markdown (.md) showcase file with images...")
    generate_md(df)

    # PDF output
    print("Writing PDF file...")
    write_monthly_pdf()

    print("Done.")
예제 #3
0
def write_monthly_png(): 
    df = get_dfm()    
    write_png_pictures(df)       
    generate_md(df)
예제 #4
0
def write_monthly_pdf():
    df = get_dfm()
    save_plots_as_pdf(df, PDF_FILE)  
예제 #5
0
def write_monthly_png():
    df = get_dfm()
    write_png_pictures(df)
    generate_md(df)
예제 #6
0
def write_monthly_pdf():
    df = get_dfm()
    save_plots_as_pdf(df, PDF_FILE)