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
6 changes: 4 additions & 2 deletions src/pyskindose/plotting/create_dose_map_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ def create_dose_map_plot(patient: Phantom, settings: PyskindoseSettings, dose_ma
name="Human",
colorbar=dict(
tickfont=dict(color=COLOR_PLOT_TEXT),
title="Skin dose [mGy]",
titlefont=dict(family=PLOT_FONT_FAMILY, color=COLOR_PLOT_TEXT),
title=dict(
text="Skin dose [mGy]",
font=dict(family=PLOT_FONT_FAMILY, color=COLOR_PLOT_TEXT),
),
),
)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_layout_for_dose_map_plots(
margin=PLOT_MARGINS,
font=dict(family=PLOT_FONT_FAMILY, color=COLOR_PLOT_TEXT, size=PLOT_FONT_SIZE),
hoverlabel=dict(font=dict(family=PLOT_HOVERLABEL_FONT_FAMILY, size=PLOT_HOVERLABEL_FONT_SIZE)),
titlefont=dict(family=PLOT_FONT_FAMILY, size=PLOT_FONT_SIZE, color=COLOR_PLOT_TEXT),
title=dict(font=dict(family=PLOT_FONT_FAMILY, size=PLOT_FONT_SIZE, color=COLOR_PLOT_TEXT)),
paper_bgcolor=COLOR_CANVAS,
scene=dict(
aspectmode=PLOT_ASPECTMODE_PLOT_DOSEMAP,
Expand Down
12 changes: 7 additions & 5 deletions src/pyskindose/plotting/plot_procedure.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,13 @@ def _create_procedure_layout(
hoverlabel=dict(font=dict(family=PLOT_HOVERLABEL_FONT_FAMILY, size=PLOT_SLIDER_FONT_SIZE_GENERAL)),
showlegend=False,
dragmode=PLOT_DRAGMODE,
title=title,
titlefont=dict(
family=PLOT_TITLE_FONT_FAMILY,
size=PLOT_TITLE_FONT_SIZE,
color=COLOR_PLOT_TEXT,
title=dict(
text=title,
font=dict(
family=PLOT_TITLE_FONT_FAMILY,
size=PLOT_TITLE_FONT_SIZE,
color=COLOR_PLOT_TEXT,
),
),
paper_bgcolor=COLOR_CANVAS,
scene=dict(
Expand Down