Skip to content

Commit 2840920

Browse files
minhsuehChiu Petertschaume
authored
modify deprecated titlefont in diffraction.py (#479)
Co-authored-by: Chiu Peter <[email protected]> Co-authored-by: Patrick Huck <[email protected]>
1 parent b31586f commit 2840920

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crystal_toolkit/components/diffraction.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,26 @@ def __init__(
5656
# Default XRD plot style settings
5757
default_xrd_plot_style = frozendict(
5858
xaxis={
59-
"title": "2𝜃 / º",
59+
"title": {"text": "2θ (°)", "font": {"size": 16}},
6060
"anchor": "y",
6161
"nticks": 8,
6262
"showgrid": True,
6363
"showline": True,
6464
"side": "bottom",
6565
"tickfont": {"size": 16.0},
6666
"ticks": "inside",
67-
"titlefont": {"size": 16.0},
6867
"type": "linear",
6968
"zeroline": False,
7069
},
7170
yaxis={
72-
"title": "Intensity / arb. units",
71+
"title": {"text": "Intensity / arb. units", "font": {"size": 16}},
7372
"anchor": "x",
7473
"nticks": 7,
7574
"showgrid": True,
7675
"showline": True,
7776
"side": "left",
7877
"tickfont": {"size": 16.0},
7978
"ticks": "inside",
80-
"titlefont": {"size": 16.0},
8179
"type": "linear",
8280
"zeroline": False,
8381
},

0 commit comments

Comments
 (0)