Skip to content

Commit

Permalink
widen Legend patches in thinned theme
Browse files Browse the repository at this point in the history
The thinned theme changes the size of patches in `Legend`s.  This means
that the `:solid`, `:dash` and `:dot` lifestyles are hard to
distinguish.

Widen `patchsize` from (8, 8)` to `(20, 8)`.

Fixes: #22
  • Loading branch information
musoke committed May 7, 2024
1 parent e2a90b0 commit 3153918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/example_makie.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ T2 = Theme(
),
Legend = (
framewidth = 0.5,
patchsize = (8, 8),
patchsize = (20, 8),
padding = (5, 5, 5, 5),
),
)
Expand Down
2 changes: 1 addition & 1 deletion src/opinions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MakieThinTheme = MakieCore.Theme(
),
Legend = (
framewidth = 0.5,
patchsize = (8, 8),
patchsize = (20, 8),
padding = (5, 5, 5, 5),
),
Colorbar = (;
Expand Down

0 comments on commit 3153918

Please sign in to comment.