Skip to content

Commit

Permalink
Change indent
Browse files Browse the repository at this point in the history
  • Loading branch information
AVHopp committed Aug 27, 2024
1 parent e68586e commit a678888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baybe/utils/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def create_example_plots(
plt.close()


def indent(text: str, amount: int = 3, ch: str = " ") -> str:
def indent(text: str, amount: int = 2, ch: str = " ") -> str:
"""Indent a given text by a certain amount."""
padding = "|" + amount * ch
return "".join(padding + line for line in text.splitlines(keepends=True))

0 comments on commit a678888

Please sign in to comment.