cgq-qgc / pyhelp

A Python library for the assessment of spatially distributed groundwater recharge and hydrological components with HELP
MIT License
17 stars 5 forks source link

PR: Add an option to add a title to the hydrologic budget plots #91

Closed jnsebgosselin closed 2 years ago

jnsebgosselin commented 2 years ago

Add an option to add a title to the hydrologic budget figures that can be produced with HelpOutput

So to add a figure to these figures, one can simply do:

from pyhelp.output import HelpOutput

output_help = HelpOutput( "path/to/pyhelp/output/file/help_example.out")

output_help.plot_area_monthly_avg(
    year_from=2003, year_to=2007, fig_title='Exemple ajout titre figure')
output_help.plot_area_yearly_avg(
    year_from=2005, year_to=2005, fig_title='Exemple ajout titre figure')
output_help.plot_area_yearly_series(
    year_from=2004, year_to=2009, fig_title='Exemple ajout titre figure')

image