Skip to content

#120 Add layout slider - #232

Merged
kMutagene merged 1 commit into
plotly:devfrom
amakhno:add-layout-slider
Nov 16, 2021
Merged

#120 Add layout slider#232
kMutagene merged 1 commit into
plotly:devfrom
amakhno:add-layout-slider

Conversation

@amakhno

@amakhnoamakhno commented Oct 31, 2021

Copy link
Copy Markdown
Contributor

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

@amakhnoamakhno changed the title Draft: #120 Add layout slider#120 Add layout sliderOct 31, 2021
@amakhno
amakhnoforce-pushed the add-layout-slider branch 2 times, most recently from 007d340 to b82f0bbCompareNovember 13, 2021 19:44
@amakhno
amakhno marked this pull request as ready for review November 15, 2021 20:32
@amakhno

Copy link
Copy Markdown
ContributorAuthor

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

kMutagene commented Nov 16, 2021

Copy link
Copy Markdown
Collaborator

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

@kMutagene
kMutagene merged commit 1a44545 into plotly:devNov 16, 2021
@kMutagenekMutagene mentioned this pull request Nov 16, 2021
Sign up for freeto 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

@amakhno@kMutagene