If I am right, the result is the same
Make a call to display_current_graph(on) after the two functions for next_quote
and previous_quote
. Commenting is correct.
But also call this function
The call comes above:
I want you to remove it from there and be made after the previous and next button function definitions because I want the screen to reflext the most recent df.
Sorry to have you do so many things. This is an iterative process only…
When I comment display_current_graph(on) after the two functions for next_quote and previous_quote graphs disappear so this is probably the difference between your code and mine…
Where does the function pk_graph
get called?
Can you include line numbers in your screenshots please?
I have created in my github something very similar to what I have and I reproduce the error, I think it will be easier for you to work on that code and find the problem. This is my exact situation…GitHub - PARODBE/streamlit_figures
BTW, with respect to your question I have pk_graph at the end of the app:
However, I think that the result is not dependent of this because in the app.py example that I built in my git I have the same error without a multipage app…
Hey @PARODBE
Good Morning! Raised a PR on the github repo with a possible solution. Can you please check and see if it suits your needs?
Thanks,
Vinayak.
Good morning @ElisonSherton, it works perfect! Thanks a million! What was really the problem? It wasn’t easy to solve, was it? hehe Thanks again!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.