Skip to content

Conversation

@Mc-Zen
Copy link
Member

@Mc-Zen Mc-Zen commented Oct 23, 2025

Can be used via

#show: lq.set-diagram(
  xaxis: (format-ticks: lq.tick-format.linear.with(pad: false)),
)

#lq.diagram()
image

In the future there might be a settable element that allows setting such values like set lq.tick.format.args(pad: false) which would be useful so that the formatter can stay auto and may adapt the current scale (i.e. pick the log formatter when the axis is logarithmic).

Closes #126.

@Mc-Zen Mc-Zen merged commit 0b688d5 into main Oct 23, 2025
1 check passed
@Mc-Zen Mc-Zen deleted the tick-locate-linear-pad branch October 23, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request : add an option for significant digits in format-ticks-linear

2 participants