✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Plotly gantt chart, fixed colors for specific ranges in x axis

Hello! I want to have my gantt chart display different colors depending on the time range, for example on the x axis, if time is between 07:00 -15:00, the color should be green, from 15:00 to 23:00 it should be red, etc. This is to display shift changes.

Is this possible? Thanks!