scrnatools._utils.fill_array
- scrnatools._utils.fill_array(variable: Any, default: Any, final_size: int) List[Any][source]
Fills the default value for parameter that don’t set values for all plots (keys).
- Parameters:
variable (Any) – The parameter to fill values for.
default (Any) – The default value for the argument on a single plot.
final_size (int) – The number of keys in the figure.
- Returns:
A list of length ‘final_size’ with the default values for the parameter filling to the end of the list.
- Return type:
List[Any]