Skip to content

Commit 9ed9f0e

Browse files
authored
fix: re-add first color as black (#584)
* fix: re-add first color as black * fix: adjust font size in dune.py and update .gitignore for generated files * test: update baseline
1 parent 2e55546 commit 9ed9f0e

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,4 @@ venv.bak/
116116
.idea/
117117
/docs/source/_generated/
118118
/tmp/
119+
/docs/source/_static/_generated/

src/mplhep/styles/dune.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"figure.autolayout": True,
3434
# Text properties
3535
"text.hinting_factor": 8,
36-
"font.size": 24,
36+
"font.size": 22,
3737
# Axes properties
3838
"axes.facecolor": "white",
3939
"axes.edgecolor": "black",
@@ -51,6 +51,7 @@
5151
"axes.prop_cycle": cycler(
5252
"color",
5353
[
54+
"#000000", # Black
5455
"#D55E00", # DUNE Orange (primary)
5556
"#56B4E9", # DUNE Sky Blue (primary)
5657
"#E69F00", # DUNE Yellow/Gold (primary)

tests/baseline/test_style_dune.png

-1.54 KB
Loading
-1.54 KB
Loading

0 commit comments

Comments
 (0)