Is it possible to output the python graph in the chat console?
What sort of graph are you thinking, and what sort of console?
I have a list which contains a company’s turnover for every year. So, when a user asks about a company turnover the custom action should plot the graph and output on slack.
Do you have the graphs already in png/jpg etc. format locally? You can attach them as image links like in our moodbot example:
utter_cheer_up: - text: "Here is something to cheer you up:" image: "https://i.imgur.com/nGF1K8f.jpg"
Where in this case it would be either the link to your file if hosted online, or if hosted locally,