Skip to content

Commit

Permalink
Tweak chess.svg.board(..., borders) docs
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Feb 24, 2023
1 parent b6aaf1f commit 3439cb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chess/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ def board(board: Optional[chess.BaseBoard] = None, *,
coordinates: bool = True,
colors: Dict[str, str] = {},
flipped: bool = False,
style: Optional[str] = None,
borders: bool = False) -> str:
borders: bool = False,
style: Optional[str] = None) -> str:
"""
Renders a board with pieces and/or selected squares as an SVG image.
Expand All @@ -275,9 +275,9 @@ def board(board: Optional[chess.BaseBoard] = None, *,
and ``arrow yellow``. Values should look like ``#ffce9e`` (opaque),
or ``#15781B80`` (transparent).
:param flipped: Pass ``True`` to flip the board.
:param style: A CSS stylesheet to include in the SVG image.
:param borders: Pass ``True`` to enable a border around the board and,
(if ``coordinates`` is enabled) the coordinate margin.
(if *coordinates* is enabled) the coordinate margin.
:param style: A CSS stylesheet to include in the SVG image.
>>> import chess
>>> import chess.svg
Expand Down

0 comments on commit 3439cb6

Please sign in to comment.