Skip to content

Commit

Permalink
style: adjust padding of boxpoint text tag
Browse files Browse the repository at this point in the history
  • Loading branch information
carrascomj committed Jan 17, 2025
1 parent 1a6f4cc commit 70908c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aesthetics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ fn plot_side_box(
if let Some(tag) = &ycat.tags[index] {
let mut text_trans = Transform::from_xyz(
// based y on the box size (40.) and the number of conditions
-40. * 1.2 * axis.conditions.len() as f32,
-40. * axis.conditions.len() as f32,
40.0 * ycat.idx[index] as f32 * 1.2 + 20.,
0.,
)
Expand Down

0 comments on commit 70908c2

Please sign in to comment.