## resize()


Resize an object by the given scale factor.


Usage


``` python
resize(
    obj,
    scale,
)
```


## Parameters


`obj: dict`  
The object to resize.

`scale: float`  
The scale factor to apply.


## Returns


`dict`  
The resized object.


## Examples

``` python
>>> resize({"width": 100}, 0.5)
```

{'width': 50.0}
