BasisResearch / cities

Home of Basis development for the 2023 TOP Sprint
MIT License
6 stars 0 forks source link

Implement new slider functionality where x% corresponds to x% of max intervention dollar value #98

Closed rfl-urbaniak closed 6 months ago

rfl-urbaniak commented 6 months ago

A short demonstration is in slider.ipynb whose content is also the basis of a test to be developed a bit further, test_slider.

riadas commented 6 months ago

Looks like this is working correctly! Had to change the example query in slider.ipynb so that intervened_value=50 instead of intervened_value=0.5, and use that scaling in the frontend, but looks good after that.