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

Cannot change the linewidth of a single plot #4889

Open
Vilin97 opened this issue Feb 12, 2024 · 1 comment
Open

Cannot change the linewidth of a single plot #4889

Vilin97 opened this issue Feb 12, 2024 · 1 comment
Labels

Comments

@Vilin97
Copy link

Vilin97 commented Feb 12, 2024

Details

Cannot change the linewidth of a single plot but can change the linewidth of multiple plots.

using Plots
plt = plot(1:5)
plot(plt, lw=10) # linewidth does not change
plot([plt,plt]..., lw=1) # linewidth changes

Backends

This bug occurs on ( insert x below )

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

Versions

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

Julia Version 1.10.0-rc1
Commit 5aaa9485436 (2023-11-03 07:44 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 80 × Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, broadwell)
  Threads: 1 on 80 virtual cores
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 
@Vilin97 Vilin97 added the bug label Feb 12, 2024
@BeastyBlacksmith
Copy link
Member

These two should work:

using Plots
plt = plot(1:5)
plot!(plt, lw=10) 
plot([plt,plt]..., lw=1, subplot=1 )

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

No branches or pull requests

2 participants