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] guidefontvalign for pgfplotsx()`not working #3524

Open
mmikhasenko opened this issue Jun 1, 2021 · 2 comments
Open

[BUG] guidefontvalign for pgfplotsx()`not working #3524

mmikhasenko opened this issue Jun 1, 2021 · 2 comments

Comments

@mmikhasenko
Copy link
Contributor

guidefontvalign=:top
guidefonthalign=:right

Details

plot(rand(10), x="x", y="y", guidefontvalign=:top, guidefonthalign=:right)

Backend: pgfplotsx

Versions

Plots.jl version:

[91a5bcdd] Plots v1.13.2

Backend version (]st -m):

[8314cec4] PGFPlotsX v1.2.10

Output of versioninfo():

Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =
@mmikhasenko
Copy link
Contributor Author

mmikhasenko commented Jun 2, 2021

https://github.com/JuliaPlots/Plots.jl/blob/master/src/backends/pgfplotsx.jl#L1208

should it just be labelpos => labelpos?

@t-bltg
Copy link
Member

t-bltg commented Jul 4, 2021

https://github.com/JuliaPlots/Plots.jl/blob/master/src/backends/pgfplotsx.jl#L1208

should it just be labelpos => labelpos?

labelpos is unrelated:

plot(rand(10), xlabel="x", ylabel="y", xguide_position=:top)

gives
corge-left-bottom

But for your original question, yes :guidefontvalign or :guidefonthalign seems to be unsupported for the axes by pgfplotsx.
PRs are welcome !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants