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

[BUG] Barplot in logscale has bars starting at different levels #4502

Closed
giordano opened this issue Nov 8, 2022 · 0 comments · Fixed by #4503
Closed

[BUG] Barplot in logscale has bars starting at different levels #4502

giordano opened this issue Nov 8, 2022 · 0 comments · Fixed by #4503
Labels

Comments

@giordano
Copy link
Contributor

giordano commented Nov 8, 2022

Details

bar([1 2 3], [10  20 50]; yscale=:log10)

produces

image

@t-bltg pointed out that one can use

bar([1 2 3], [10  20 50], yscale=:log10, fillto=1)

to force the bar to start from a given value, but it'd be nice to have a nicer default behaviour 🙂

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot
plotlyjs
pgfplotsx
unicodeplots
inspectdr
gaston

Versions

Plots.jl version: v1.35.0
Backend version (]st -m <backend(s)>): v0.69.2
Output of versioninfo():

julia> versioninfo()
Julia Version 1.8.2
Commit 36034abf260 (2022-09-29 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, haswell)
  Threads: 1 on 8 virtual cores
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant