Welcome to figanos’s documentation!

Contents

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?#

All Modules