Plotly
class allows you to display a Plotly chart in the chatbot UI. This class takes a Plotly figure.
The advantage of the Plotly
element over the Pyplot
element is that it’s interactive (the user can zoom on the chart for example).
plotly.graph_objects.Figure
instance that you want to display.