Skip to content

Commit

Permalink
fix error - lablerotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdez committed Nov 16, 2023
1 parent aab63d0 commit 96fa73e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plot_parallelcoordinates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function plot_parallelcoordinates!(
labelfont = "Arial",
ticklabelfont = "Arial",
spinevisible = true,
label_rotation = 0.0,
labelrotation = 0.0,
ticklabelsize = tick_label_size,
minorticks = IntervalsBetween(2),
endpoints = Point2f[(x_values[i], bottom_padding), (x_values[i], y_values[i])],
Expand Down
4 changes: 2 additions & 2 deletions src/plot_topoplotseries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function plot_topoplotseries!(
colorrange = d.colorrange,
height = config.colorbar.height,
flipaxis = config.colorbar.flipaxis,
label_rotation = config.colorbar.label_rotation,
labelrotation = config.colorbar.labelrotation ,
label = config.colorbar.label,
)
else
Expand All @@ -91,7 +91,7 @@ function plot_topoplotseries!(
colorrange = d.colorrange,
height = config.colorbar.height,
flipaxis = config.colorbar.flipaxis,
label_rotation = config.colorbar.label_rotation,
labelrotation = config.colorbar.labelrotation ,
label = config.colorbar.label,
)
end
Expand Down
4 changes: 2 additions & 2 deletions src/plotconfig.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function PlotConfig(T::Val{:topoplotseries})
colorbar = (;
height = 300, # why even should i made it manually?
flipaxis = true,
label_rotation = 4.7,
labelrotation = 4.7,
label = "Voltage [µV]"
),
visual = (;
Expand Down Expand Up @@ -207,7 +207,7 @@ function PlotConfig(T::Val{:erpimage})
config_kwargs!(
cfg;
layout = (; use_colorbar = true),
colorbar = (; label = "Voltage [µV]", label_rotation = 4.7),
colorbar = (; label = "Voltage [µV]", labelrotation = 4.7),
axis = (xlabel = "Time", ylabel = "Sorted trials"),
visual = (; colormap = Reverse("RdBu")),
)
Expand Down

0 comments on commit 96fa73e

Please sign in to comment.