Skip to content

Commit

Permalink
set default margin to 3mm
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Jan 2, 2025
1 parent 86ca191 commit ccaff72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- deprecated backends `pgfplots` and `pyplot` removed
- deprecated keyword `orientation` removed
- default margin is 3mm and setting it to 0 should give tight margins
- backends are extensions now so the backend code must be explicitly loaded using `import` with the backend package, e.g. ```julia
using Plots
import GR # loads backend code
Expand Down
2 changes: 1 addition & 1 deletion PlotsBase/src/Commons/attrs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ const _subplot_defaults = KW(
:projection => :none, # can also be :polar or :3d
:projection_type => :auto, # can also be :ortho(graphic) or :persp(ective)
:aspect_ratio => :auto, # choose from :none or :equal
:margin => 1mm,
:margin => 3mm,
:left_margin => :match,
:top_margin => :match,
:right_margin => :match,
Expand Down

0 comments on commit ccaff72

Please sign in to comment.