Skip to content

Commit

Permalink
[theme] adjust default sideBySide theme a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Dec 6, 2023
1 parent 5ae35a3 commit 454050f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ggplotnim.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1939,12 +1939,12 @@ func sideBySide*(): Theme =
tickLength: some(5.0),
tickWidth: some(1.0),
gridLineWidth: some(1.0),
legendFont: some(font(9.0)),
legendTitleFont: some(font(9.0, bold = true)),
legendFont: some(font(7.0)),
legendTitleFont: some(font(7.0, bold = true)),
facetHeaderFont: some(font(7.0, alignKind = taCenter)),
baseLabelMargin: some(0.35),
baseLabelMargin: some(0.25),
annotationFont: some(font(7.0, family = "monospace")),
baseScale: some(1.5)) # won't be scaled!
baseScale: some(1.25)) # won't be scaled!

func singlePlot*(): Theme =
result = Theme(titleFont: some(font(10.0)),
Expand Down

0 comments on commit 454050f

Please sign in to comment.