I’ve attached my current parallel coordinates plot. Everything’s fine about it except that the labels are a little too small and unclear. The axis labels under “L” and “Update Rule” are a little hard to read—is there a way to make the label text black and increase the font size for all the text?
I’ve been looking at the documentation but adding the size parameter doesn’t work, I think I might be adding it in the wrong place.
size = list(size = 32)
pcp <- data %>%
plot_ly(width = 1000, height = 600) %>%
layout(title = "Parallel Coordinates Plot of Hyperparameter Data",
scene = list(xaxis = size,
yaxis = size)) %>%
add_trace(
type = 'parcoords',
line = list(
color = ~ time_taken,
colorscale = 'Viridis',
showscale = TRUE,
cmin = ~ min(time_taken),
cmax = ~ max(time_taken)
),
dimensions = list(
list(
range = c(0, 24),
visible = TRUE,
label = 'K',
values = ~ K
),
list(
range = c(0, 24),
visible = TRUE,
label = 'N',
values = ~ N
),
list(
range = c(0, 24),
visible = TRUE,
label = 'L',
values = ~ L
),
list(
tickvals = c(-1, 0, 1),
ticktext = c('Hebbian', 'anti-Hebbian', 'random walk'),
label = 'Update Rule',
values = ~ update_rule
),
list(
tickvals = c(-1, 1),
ticktext = c('none', 'geometric'),
label = 'Attack',
values = ~ attack
),
list(
range = c( ~ min(time_taken), ~ max(time_taken)),
label = 'Training Time (s)',
values = ~ time_taken
),
list(
range = c( ~ min(eve_score), ~ max(eve_score)),
label = 'Eve\'s score (%)',
values = ~ eve_score
)
)
)
pcp