Skip to content

Commit

Permalink
widen Legend patches in thinned theme (#24)
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 authored May 21, 2024
1 parent 8722d9a commit 2985ba6
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 2985ba6

Please sign in to comment.