egttools.plotting

API reference documentation for the plotting submodule.

Functions

draw_invasion_diagram

Draws the markov chain for a given stationary distribution of monomorphic states.

plot_gradient

Creates a figure plotting the gradient of selection together with the saddle points, and the gradient arrows.

plot_gradients

This function plots the gradient of selection for 1-simplexes (only two strategies).

plot_pairwise_comparison_rule_dynamics_in_simplex

Plot dynamics of a finite population using the pairwise comparison rule on a 2D simplex.

plot_pairwise_comparison_rule_dynamics_in_simplex_without_roots

Plot dynamics on the simplex under the pairwise comparison rule, without computing roots.

plot_replicator_dynamics_in_simplex

Plot the replicator dynamics on a 2D simplex for 2- or N-player matrix games.

Classes

Simplex2D

Plots a 2-dimensional simplex in a cartesian plane.

helpers

Helper functions for producing plots on simplexes

indicators

Helper function to visualize evolutionary dynamics

simplex2d

simplified

Simplified plotting functions