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

Give anotation for plot #17

Open
Davidlimbong opened this issue Feb 6, 2019 · 1 comment
Open

Give anotation for plot #17

Davidlimbong opened this issue Feb 6, 2019 · 1 comment
Assignees
Labels
enhancement Minor features or request

Comments

@Davidlimbong
Copy link

Davidlimbong commented Feb 6, 2019

this plot should have notes that explain the value. I can't understand what the value mean on this plot

image

@onlyphantom onlyphantom added the enhancement Minor features or request label Feb 7, 2019
@onlyphantom
Copy link
Owner

OK, will add description. To immediately answer the question, the value is the mean applied to a monotonic interpolation function. The code from that commit was:

a = alt.Chart(resp_nwm).mark_square(size=40).encode(
    x=alt.X('variable:N', scale=alt.Scale(rangeStep=80), axis=alt.Axis(labelAngle=0)),
    y=alt.Y('value')
    ...
b = a.mark_line(opacity=0.8, interpolate='monotone').encode(
    x=alt.X('variable')
)

But it's a good idea, and I think it's worth the effort to add a description

@onlyphantom onlyphantom self-assigned this Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Minor features or request
Projects
None yet
Development

No branches or pull requests

2 participants