Can anyone help please. I am using version 3.10 of Plotly with Python 3.7.
The example code on the plotly site is:
import plotly.plotly as py
import plotly.figure_factory as ff
df = [dict(Task=“Job A”, Start=‘2009-01-01’, Finish=‘2009-02-28’),
dict(Task=“Job B”, Start=‘2009-03-05’, Finish=‘2009-04-15’),
dict(Task=“Job C”, Start=‘2009-02-20’, Finish=‘2009-05-30’)]
fig = ff.create_gantt(df)
py.iplot(fig, filename=‘gantt-simple-gantt-chart’, world_readable=True)
This initially says that Numpy is missing so I have imported this libary. However, it then tells me that
plotly.tools.FigureFactory.create_gantt is deprecated. Use plotly.figure_factory.create_gantt
I altered the code around this, but it still generates other errors. I can’t find the reference for plotly.figure_factory.create_gantt to see what attributes, etc are available.
Can anyone help with this please as I am fairly new to this, but this will help me to develop a really useful utility I have been working on.
Thanks for your help.