Skip to content

Commit

Permalink
reduce margins around svg rose
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Nov 20, 2024
1 parent edc584a commit 4f903f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openskistats/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,12 @@ def create_ski_area_roses(overwrite: bool = False) -> None:
# make the polar frame less prominent
ax.spines["polar"].set_linewidth(0.4)
ax.spines["polar"].set_color("#6b6b6b")
# TODO: reduce margins around svg
logging.info(f"Writing {path}")
fig.savefig(
path,
format="svg",
bbox_inches="tight",
pad_inches=0.02,
transparent=True,
metadata={
"Title": "Ski Roses of the World: Downhill Ski Trail Orientations",
Expand Down

0 comments on commit 4f903f1

Please sign in to comment.