Skip to main content

All Questions

Tagged with
1 vote
1 answer
52 views

How Would One Go About Creating A Graph Like This In Plotly/Pandas?

I would like to recreate following image in Plotly and Pandas. but I'm not sure how. I have looked into using Gantt Graphs but every time I see one the timeline is going along the x axis and not the ...
Jack Finnegan's user avatar
0 votes
2 answers
45 views

Tasks with the same name in Gantt diagram using plotly.express.timeline

Is there a way to separate tasks on a Gantt diagram if they have the same names? import plotly.express as px import pandas as pd df = pd.DataFrame([ dict(Task="Job A", Start='2009-01-01'...
Petr L's user avatar
  • 27
0 votes
1 answer
47 views

Plotly px.Timeline y marks do not adjust when using facet_row

With a simple dataFrame that look like this The following code fig = px.timeline(df, x_start="Target Date Start", x_end="Target Date End", ...
Mth Clv's user avatar
  • 667
0 votes
0 answers
24 views

Adding the color argument to my px.timeline figures starts a new y-scale for each category. How do I use color so that the y-scale isn't interrupted?

I am a new hobby coder and I'm trying to plot a traveler's timeline of visits to places around the world. I have an example of the graph I would like but passing the color parameter of Plotly's px....
Kriks84's user avatar
0 votes
0 answers
91 views

Gantt charts in plotly

Hi I have created a Gantt chart with simple code that I find online: # gantt is just my pandas dataframe import plotly.figure_factory as ff fig = ff.create_gantt(gantt, colors = ['rgb(170, 14, 200)', ...
bernando_vialli's user avatar
0 votes
0 answers
21 views

in jsgantt-improved, all cols in left data table is not visible to users

I am using jsgantt-improved in plotly dash to display the gantt-chart with data table. this is my output left data table is not displaying all the columns. this is my json=[ { "pID": 1, &...
Shilpa's user avatar
  • 1
1 vote
1 answer
162 views

Gantt chart using python plotly

enter image description hereHere is the code I made for creating a Gantt chart using Python Plotly. I need to mask all the leaves or vacations with unique colours. I am expecting an image like this df ...
Naveen Nandanan's user avatar
2 votes
2 answers
620 views

plotly - adding a Timeline using add_trace() to go.Figure object

I'm ultimately trying to add a px.timeline to a Figure containing a go.Scatter (similar to what they were doing here: Add a Plotly Express trace to a Graph Objects go.Figure() with multiple traces?). ...
Emma Birath's user avatar
1 vote
2 answers
2k views

How to create a Gantt chart in Python (with plotly) including tasks of a duration of 0 days (start and end date of the task are the same date)

I am trying to create a Gantt chart in Python. Some of the tasks that I have to include in the chart have a duration of 0 days, meaning they have to be completed on the same day. I've tried this code ...
lunamaria's user avatar
0 votes
0 answers
107 views

Creating a Gantt chart using the data from the Python classes

I am trying to create a Gantt chart using the data from the python classes. The classes are as below: Stage class: class Stage: id: int production_equipment: List[ProductionEquipment] | None = ...
Margi Shah's user avatar
0 votes
0 answers
24 views

How to plot a Gantt chart [duplicate]

This topic was addressed in other questions but none of the recommendations worked in my case. I have macOS M1 #Manage the data import pandas as pd import numpy as np #Graphic tools import ...
Toly's user avatar
  • 3,147
0 votes
1 answer
365 views

Is there a way to edit the bar properties/characteristics in a Plotly Gantt chart that was created using create_gantt()?

I am working on a Gantt chart to track project tasks progress using Plotly. I want to create a chart that would depict each Task as a bar in Gantt chart and the bar should be shaded according to the ...
Div's user avatar
  • 11
0 votes
0 answers
341 views

Reproduce gantt chart with plotly

I have made a gantt plot with the vistime library in R and want to reproduce it with plotly. Here's the result with vistime package and the result with plotly The problem is the vistime plot there ...
AndCh's user avatar
  • 315
1 vote
0 answers
199 views

Gantt parallel subjobs

I am trying to plot a peculiar sort of Gantt graph. In my Gantt graph, I need to plot in the same y-axis job item multiple jobs occurring parallelly. For example, let's take the code snippet below, ...
Matheus Diógenes Andrade's user avatar
0 votes
1 answer
252 views

Plotly Timeline not updating according to selected option of dropdown

I have been trying to update the timeline as per the selected item from dropdown but it is not getting plotted as per the selected option. For example, in attached image i have selected B1 but C1 is ...
Anusha Ali's user avatar

15 30 50 per page
1
2 3 4 5