pymarket.plot.muda module

pymarket.plot.muda.plot_both_side_muda(bids, left_players, right_players, left_price, right_price, FIGSIZE=(12, 6), **kwargs)[source]

Plots the two sides in which MUDA divides the trades with the corresponding prices

Parameters:
  • (pandas dataframe) (bids) – Table with all the bids submitted
  • (list) (right) – List of players in the left side
  • (list) – List of players in the right side
  • (float) (right_price) – Price obtained from the left side to be used in the right side
  • (float) – Price obtained from the right side to be used in the left side
  • (tuple) (FIGSIZE) – Tuple (width, height) of the figure to be created
Returns:

axe – The axe in which the figure was plotted.

Return type:

matplotlib.axes._subplots.AxesSubplot