I'd like to make the icon grow via a height (or width) of 100%
Tell us what happened, what went wrong, and what you expected to happen.
I could not create the icon an an error was thrown. I'd expect it to create an icon as it is a valid css unit
What I Did
>>> import faicons
>>> faicons.icon_svg("piggy-bank", height = "100%")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/barret/Documents/git/rstudio/py-shiny/py-shiny.nosync/venv/lib/python3.11/site-packages/faicons/_core.py", line 131, in icon_svg
h = _parse_length_unit(height)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/barret/Documents/git/rstudio/py-shiny/py-shiny.nosync/venv/lib/python3.11/site-packages/faicons/_core.py", line 190, in _parse_length_unit
raise ValueError(
ValueError: Values provided to `height` and `width` must have a numerical value followed by a CSS length unit.
Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did