Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the width of errorbar in g_lineplot() #1081

Closed
3 tasks done
qiliu1013 opened this issue Oct 11, 2023 · 0 comments · Fixed by #1261
Closed
3 tasks done

Adjust the width of errorbar in g_lineplot() #1081

qiliu1013 opened this issue Oct 11, 2023 · 0 comments · Fixed by #1261
Assignees
Labels
bug Something isn't working enhancement

Comments

@qiliu1013
Copy link
Contributor

What happened?

It's good to have fexisibility to adjust the width of the errorbar in g_lineplot(). width = 0.45 is too small if the x scale is large.

  if (!is.null(interval)) {
    p <- p +
      ggplot2::geom_errorbar(
        ggplot2::aes(ymin = .data[[whiskers[1]]], ymax = .data[[whiskers[max(1, length(whiskers))]]]),
        width = 0.45,
        position = position
      )

sessionInfo()

> packageVersion("tern")
[1] ‘0.9.1

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement
Projects
None yet
2 participants