atomica.cascade.plot_single_cascade(result=None, cascade=None, pops=None, year=None, data=None, title=False)[source]

Plot cascade for a single result

This is the fancy cascade plot, which only applies to a single result at a single time

  • results – A single result, or list of results. One figure will be generated for each result

  • cascade – A cascade specification supported by sanitize_cascade()

  • pops – A population specification supported by sanitize_pops() - must correspond to a single aggregation

  • year – A single year, can be a scalar or an iterable of length 1

  • data – A ProjectData instance

  • title – Optionally override the title of the plot


Figure object containing the plot, or list of figures if multiple figures were produced