Graphs and visualisation using PandasAI #504
Unanswered
shwetabhattad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have written a code using PandasAI with Streamlit where the user enters the question which is used as a prompt.
To generate graphs, I am using matplotlib('TkAgg'), this opens a new window showing the graph.
However, when I deploy the code as an app in streamlit cloud, its not working and TkAgg is throwing error.
I have tried various solutions like plt.ion() and used plt.show(block = false), but none seem to work.
I would like to show the graph in a new window that pops up or what could be the other solution.
Beta Was this translation helpful? Give feedback.
All reactions