Пример #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)