Skip to content

Commit

Permalink
Remove Raises from KPI card docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Oct 17, 2024
1 parent 8eaa97f commit ff7a37b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions vizro-core/src/vizro/figures/_kpi_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def kpi_card(
icon: Name of the icon from the [Google Material Icon Library](https://fonts.google.com/icons) to be displayed
on the left side of the KPI title. If not provided, no icon is displayed.
Raises:
UserWarning: If `value_format` is provided, a warning is raised to make aware that only trusted user
input should be provided.
Returns:
A Dash Bootstrap Components card (`dbc.Card`) containing the formatted KPI value.
Expand Down Expand Up @@ -123,10 +119,6 @@ def kpi_card_reference( # noqa: PLR0913
icon: Name of the icon from the [Google Material Icon Library](https://fonts.google.com/icons) to be displayed
on the left side of the KPI title. If not provided, no icon is displayed.
Raises:
UserWarning: If `value_format` or `reference_format` is provided, a warning is raised to make aware
that only trusted user input should be provided.
Returns:
A Dash Bootstrap Components card (`dbc.Card`) containing the formatted KPI value and reference.
Expand Down

0 comments on commit ff7a37b

Please sign in to comment.