Skip to content

Commit 3945558

Browse files
committed
Update presentation profile text size
1 parent af6452c commit 3945558

5 files changed

Lines changed: 1461 additions & 1457 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- (DEV) Added a release checklist.
1313

14+
### Changed
15+
16+
- Changed the "presentation" profile to use 18pt text
17+
1418
## [0.1.3] – 2025-04-25
1519

1620
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The _eriplots_ library provides a simple, customizable
3737
"profiles" for common scenarios:
3838

3939
1. **document**: 10 pt base type, 4.5 in × 2.5 in figure at 300 DPI
40-
2. **presentation**: 20 pt base type, 7 in × 4 in figure at 300 DPI
40+
2. **presentation**: 18 pt base type, 7 in × 4 in figure at 300 DPI
4141

4242
Both profiles apply a clean style with consistent spacing,
4343
reduced visual noise, and harmonically-scaled text elements.

src/eriplots/styles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def eri_style(
9393
dpi = 300
9494

9595
elif profile == "presentation":
96-
base_size = 20
96+
base_size = 18
9797
figsize = (7, 4)
9898
dpi = 300
9999

tests/test_styles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_profile_presentation():
4343
style = ep.eri_style(profile="presentation")
4444

4545
# Check specific presentation profile attributes
46-
assert style["font.size"] == 20
46+
assert style["font.size"] == 18
4747
assert style["figure.figsize"] == (7, 4)
4848
assert style["savefig.dpi"] == 300
4949

0 commit comments

Comments
 (0)