bff.size_2_square¶
-
bff.
size_2_square
(n)¶ Return the size of the side to create a square able to contain n elements.
This is mainly used to have the correct sizes of the sides when creating squared subplots.
- Parameters
n (int) – Number of elements that need to fit inside the square.
- Returns
Tuple of int with the size of each part of the square. Both element of the tuple are similar.
- Return type
Tuple of int