✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Iplot not creating chart in pycharm

Hello Team,

I am not able to plot the graph using .iplot on pycharm, please see the sample code below.

import plotly.offline as py
import plotly.graph_objs as go

py.init_notebook_mode(connected=True)

data = [go.Bar(
x=[‘giraffes’, ‘orangutans’, ‘monkeys’],
y=[20, 14, 23]
)]

py.iplot(data, filename="‘Sactter_2021’")

py.plot(data, filename=“barplot.html”)

With activation of py.plot, it creates D:\Result\scientificProjectbarplot.html in the working directory and the .html file is automatically opens up to show the interactive chart, but with py.iplot there is no chart. Why ?

Regards,
Rishikesh