Welcome to figanos’s documentation!#
Figanos: Tool to create figures in the Ouranos style.
Overview#
Figanos is a dictionary-based function interface that wraps Matplotlib and Xarray plotting functions to create common climate data plots. Its inputs are most commonly xarray DataArrays or Datasets, and it is best used when these arrays are the output of workflows incorporating Xscen and/or Xclim. Style-wise, the plots follow the general guidelines offered by the IPCC visual style guide 2022, but aim to create a look that could be distinctively associated with Ouranos.
The following features are included in the package:
Automatically recognizes some common data structures (e.g. climate ensembles) using variable and coordinate names and creates the appropriate plots.
Automatically links attributes from xarray objects to plot elements (title, axes), with customization options.
Automatically assigns colors to some common variables and, following the IPCC visual guidelines.
Provides options to visually enhance the plots, and includes a default style to ensure coherence when creating multiple plots.
Returns a matplotlib axes object that is fully customisable through matplotlib functions and methods.
Need help?#
Ouranos employees can ask questions on the Ouranos private StackOverflow where you can tag subjects and people. (https://stackoverflow.com/c/ouranos/questions)
Problems with data on Ouranos’ servers can be reported as an issue here: Ouranosinc/miranda#issues
If you encounter any errors or problems with figanos, please let us know! Open an issue at the GitHub main repository.
To be aware of changes in figanos, feel free to “watch” the GitHub repository. You can customize the watch function to notify you of new releases or more.
Acknowledgements#
Figanos development is funded through Ouranos, a not-for-profit collaborative innovation organization fostering resilient adaptation to climate change, based in Québec, Canada.