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] tickfontcolor does not allow symbolic color #3469

Closed
ShuhuaGao opened this issue May 4, 2021 · 2 comments
Closed

[BUG] tickfontcolor does not allow symbolic color #3469

ShuhuaGao opened this issue May 4, 2021 · 2 comments
Labels

Comments

@ShuhuaGao
Copy link

Details

using Plots
plot(1:20, randn(20); size=(400, 300), tickfontcolor=:red)

The above code produces MethodError: MethodError: no method matching alpha(::Symbol).

However, if we specify the color with

plot(1:20, randn(20); size=(400, 300), tickfontcolor=colorant"red")

then it works as expected.

Backends

GR
This bug occurs on ( insert x below )

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

Versions

Plots.jl version: v1.13.2
Backend version (]st -m): GR v0.57.4
Output of versioninfo():
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: AMD Ryzen 9 5950X 16-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, generic)

@BeastyBlacksmith
Copy link
Member

can't reproduce on pfgplotsx

@BeastyBlacksmith
Copy link
Member

fixed by 096d293

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