Jonathan Biemond
Jonathan Biemond
@wqh17101 What if multiple charts are created? Should the path for each be printed?
Okay, unless I misunderstand there are two separate requests here: 1. @wqh17101 Display the exact file path of the saved charts for the user. 2. @mitokic Save charts to a...
@sandiemann Yes, I think that's a good idea to create a separate issue about the file path problems on Unix. I personally don't like the idea of adding another parameter,...
Are you using the `save_charts` feature? Charts can be saved by setting `save_charts` to True during the inital call of PandasAI. e.g. `PandasAI(llm, save_charts=True)` This will give each chart a...
Can you please share the log? Also is this happening with successive prompts or only when one prompt results in multiple charts?
The reason the charts are overlapping is because the figures are not getting cleared between prompts. They are typically cleared with `plt.show()`. Also note that the `save_charts` feature currently requires...
In my experience just adding `plt.show()` should resolve this. A solution then is to always add `plt.show()` whenever there's a call to a plotting library. Are there situations where someone...
@vpurandara you shouldn't need to add `plt.close()` > I suggest you do not include instructions to save the chart in your prompt, instead set save_charts=True and PandasAI will neatly handle...
> A solution then is to always add plt.show() whenever there's a call to a plotting library. Are there situations where someone would not want plt.show() called? @wqh17101 Any thoughts...
Are there any pandas features needed from `^2.0.0`? Perhaps the dependency should be changed to version `= 1.5.3`, quite a lot got [deprecated with 2.0.0](https://pandas.pydata.org/pandas-docs/version/2.0/whatsnew/v2.0.0.html#removal-of-prior-version-deprecations-changes).