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

Inconsistent behavior setting axis title #3023

Closed
melikovk opened this issue Apr 15, 2023 · 0 comments
Closed

Inconsistent behavior setting axis title #3023

melikovk opened this issue Apr 15, 2023 · 0 comments
Labels
vega: vega-lite Requires upstream action in `vega-lite`

Comments

@melikovk
Copy link

There is some confusing behavior when manually setting axis title.

Taking the "Bar Chart with Highlighted Segment" example as the starting point.
Replacing the last line with

(bars + highlight + rule).properties(width=600).configure_axisY(title='Wheat')

removes the Y title.

When any of the charts manually assigns the axis title, as in

y=alt.Y("wheat:Q", title="cucumbers")

then default titles from the other charts are ignored, while manually assigned titles are included.
In that case attempt to set the axis title on the LayerChart is ignored silently.

Thank you,
Kamran

@melikovk melikovk added the bug label Apr 15, 2023
@dangotbanned dangotbanned added vega: vega-lite Requires upstream action in `vega-lite` and removed bug labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vega: vega-lite Requires upstream action in `vega-lite`
Projects
None yet
Development

No branches or pull requests

2 participants