get_fig_size#

protopipe.benchmarks.get_fig_size(ratio=None, scale=None)[source]#

Get size of figure given a ratio and a scale.

Parameters
ratio: float

Something like 16:9 or 4:3

scale: float

A multiplicative factor to ccale the original figure keeping its ratio