BarChartRace.calculate_new_figsize¶
-
BarChartRace.
calculate_new_figsize
(real_fig: matplotlib.pyplot.figure) → List[float][source]¶ Calculate figure size to allow for labels, etc
- Parameters
real_fig (plt.figure) – Figure before calculation
- Returns
The dimensions [left, bottom, width, height] of the new axes. All quantities are in fractions of figure width and height.
- Return type
typing.List[float]