binary_plot_n_equilibria
- poisson_approval.binary_plot_n_equilibria(xyy_to_profile, xscale, yscale, title='Number of equilibria', meth='analyzed_strategies_ordinal', reverse_right=False, **kwargs)[source]
Shortcut: binary plot for the number of equilibria.
- Parameters
xyy_to_profile (XyyToProfile) – This is responsible for generating the profiles.
xscale (Number) – Scale of the plot (resolution) on the x-axis.
yscale (Number) – Scale of the plot (resolution) on the y-axis.
title (str) – Title of the plot.
meth (str) – The name of the
AnalyzedStrategies
property used to count the equilibria. Cf.Profile
.reverse_right (bool) – If True, then the y-axis on the right goes decreasing from 1 to 0 (whereas the y-axis on the left goes increasing from 0 to 1).
kwargs – Other keyword arguments are passed to the function
BinaryAxesSubplotPoisson.heatmap_intensity()
.
Examples
>>> xyy_to_profile = XyyToProfile(ProfileNoisyDiscrete, left_ranking='bca', right_ranking='cab', noise=0.01) >>> figure, ax = binary_plot_n_equilibria(xyy_to_profile, xscale=5, yscale=5)