Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pub_ready_plots/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Layout(Enum):
POSTER_LANDSCAPE = "poster-landscape"
POSTER_PORTRAIT = "poster-portrait"
SLIDES_169 = "slides-169"
TUOYING_169 = "tuoying-169"


@dataclass
Expand Down Expand Up @@ -141,6 +142,7 @@ class Style:
tick_size=1,
tick_width=1,
),
# Beamer slides
Layout.SLIDES_169: Style(
text_width=5.5129,
col_width=5.5129,
Expand All @@ -152,4 +154,16 @@ class Style:
tick_size=1,
tick_width=0.5,
),
# Typst Tuoying slides
Layout.TUOYING_169: Style(
text_width=11.693,
col_width=11.693,
text_height=6.577,
font_name=FONT_NAME_ARIAL,
footnote_size=18,
script_size=16,
linewidth=3,
tick_size=3,
tick_width=2,
),
}
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ authors = [{ name = "Agustinus Kristiadi", email = "agustinus@kristia.de" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.9"
dependencies = ["matplotlib>=3.9.0"]
requires-python = ">=3.11"
dependencies = ["matplotlib>=3.10", "numpy>=2.3", "pandas>=2.3"]
readme = "README.md"
license = { text = "MIT" }

Expand Down
Loading