Timeline for SUVAT Calculator web app using python streamlit
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 15, 2021 at 11:35 | comment | added | raf | I need some more suggestions to improve this app. Kindly join the discussion chat room here: chat.stackexchange.com/rooms/123015 | |
| Apr 14, 2021 at 13:20 | comment | added | raf |
Also, I checked that the streamlit widgets such the st.checkbox, st.number_input do not currently accept LaTeX: github.com/streamlit/streamlit/issues/863 In that case, what can I do to enable LaTeX there?
|
|
| Apr 14, 2021 at 13:14 | comment | added | raf |
I am wondering if it's possible to reduce my other repetitions like the same st.button and st.write statements by keeping them in a function!
|
|
| Apr 14, 2021 at 13:09 | comment | added | raf | oh I see. So, here's my current situation: gist.github.com/rafisics/0a4753def9334bdfe54ca84f5e17a552 | |
| Apr 14, 2021 at 12:46 | comment | added | RGS |
@raf to see how many options are True, you can sum the options.values(): tio.run/##K6gsycjPM/7/P7@gJDM/…
|
|
| Apr 14, 2021 at 12:14 | comment | added | raf |
After options = {letter: st.checkbox(f"{name} ({letter})") for letter, name in opts}, I have to check if len(options) is 3 or not. I was using conditional statements to print statements like st.write('Select at least 3 variables.'). But it's not functioning now. I need to show u my current version of the code.
|
|
| Apr 14, 2021 at 12:02 | comment | added | raf |
Thank you so much, At my end, LaTeX is not functioning in the f-string inside st.checkbox.
|
|
| Apr 14, 2021 at 10:01 | history | answered | RGS | CC BY-SA 4.0 |