I am thinking of using a Plotly Gantt Chart to create the timeline, but only have 1 resource, so it would be a sequential set of blocks on the timeline.
generating the following error message: ImportError: No module named plotly.figure_factory
Not sure if this is a feature request or not, but in case its an easy additional installation, can you add the Figure Factory to Client Side Anvil Code ?
Any preferred work around ?
In addition to the above, I am trying to make a plot with a sub-plot
The following package is not importing from plotly.subplots import make_subplots the error is ImportError: No module named plotly.subplots
Out of curiosity, any (very rough) estimate when the API upgrade might get scheduled ?
I have a few things I’m juggling, so if it’s going to be like 3-6 weeks, I’ll probably wait it out. If its going to be like 3-6 months, I’ll look at swapping over to JS API method.
This timeline plot would be a game changer for dashboards and super useful for a range of calendar based reports. I don’t suppose there will be an accompanying tutorial ?
The Plotly Express library depends on numpy, which is why it isn’t available client-side. It would be quite the undertaking to compile numpy to Javascript!
Has anyone been able to get go.Shape() to work since @meredydd announced the upgrade? I’m getting the same attribute error that @mcmasty got back in Oct. '19 in both client and server side modules.
Thank you @bridget. Looks like creating Shape instances directly is not how this is done. Your example helped to bridge the gap between the plotly docs and usage in Anvil.