Setting size of errorbar removes the ticks
See original GitHub issueI am trying to make errorbars a bit thicker. Using size
in encoding
works, but removes the ticks. The json below (modified from https://vega.github.io/vega-lite/docs/errorbar.html) gives no ticks as expeced when testing in https://vega.github.io/editor/
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/barley.json"},
"layer": [
{
"mark": {"type": "errorbar", "ticks": true},
"encoding": {
"x": {
"field": "yield",
"type": "quantitative",
"scale": {"zero": false}
},
"y": {"field": "variety", "type": "ordinal"},
"size": {"value": "2"}
}
},
{
"mark": {"type": "point", "filled": true, "color": "black"},
"encoding": {
"x": {"field": "yield", "type": "quantitative", "aggregate": "mean"},
"y": {"field": "variety", "type": "ordinal"}
}
}
]
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Errorbar with Adjusted Tick Size - MathWorks Blogs
The errorbar automatically determines the tick size based on the limits of the axes, and there is no simple option to change that....
Read more >Having axis ticks show fully for errorbar plot in Matplotlib
Does anyone know what I should change so that everything fits. I don't mind if some of the labels need to occupy 2...
Read more >How do I increase the tick width of error bars in ListPlot?
I have a plot with y-error bars and would like to increase the tick size of my error bars. This is the code...
Read more >matplotlib.axes.Axes.errorbar — Matplotlib 3.6.2 documentation
The length of the error bar caps in points. capthickfloat, default: None. An alias to the keyword argument markeredgewidth (a.k.a. mew). This setting...
Read more >7.7 Adding Error Bars | R Graphics Cookbook, 2nd edition
We also specified the width of the ends of the error bars, with width = .2 . It's best to play around with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, thickness of both of them.
@chanwutk do you want to fix this one?