Skip to content

#120 Add layout slider #232

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

Merged
merged 1 commit into from
Nov 16, 2021
Merged

#120 Add layout slider #232

merged 1 commit into from
Nov 16, 2021

Conversation

amakhno
Copy link
Contributor

@amakhno amakhno commented Oct 31, 2021

I'm still working on it, but it was possible to reproduce a part of the Plotly example

image

Note: I've probably found a bug in StyleParam.Visible.toString. It isn't passed to the JSON correctly. True value is "visible":"true", False is "visible": "false", but they shouldn't be strings. Still researching, but a quick fix helped

@amakhno amakhno changed the title Draft: #120 Add layout slider #120 Add layout slider Oct 31, 2021
@amakhno amakhno force-pushed the add-layout-slider branch 2 times, most recently from 007d340 to b82f0bb Compare November 13, 2021 19:44
@amakhno amakhno marked this pull request as ready for review November 15, 2021 20:32
@amakhno
Copy link
Contributor Author

amakhno commented Nov 15, 2021

Had to change the StyleParam.Visible.convert function because it didn't work properly

The True used to be serialized as "visible": "true", not "visible": true

Now it's working

@kMutagene
Copy link
Collaborator

kMutagene commented Nov 16, 2021

This is a 100% godlike PR, can't hope for more <3

@kMutagene kMutagene merged commit 1a44545 into plotly:dev Nov 16, 2021
@kMutagene kMutagene mentioned this pull request Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants