Skip to content

Commit

Permalink
fix: return path when plotting a chart (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
gventuri committed Dec 14, 2023
1 parent 8aa7ae7 commit 897d7f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandasai/responses/response_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def format_plot(self, result: dict) -> Any:
with Image.open(result["value"]) as img:
img.show()

return result["value"]

def format_other(self, result) -> Any:
"""
Returns the result generated against a user query other than dataframes
Expand Down

0 comments on commit 897d7f4

Please sign in to comment.