code: def test_gantt_all_args(self):
      # check if gantt chart matches with expected output
  
      df = [
          {
              "Task": "Run",
              "Start": "2010-01-01",
              "Finish": "2011-02-02",
              "Complete": 0,
          },
          {
              "Task": "Fast",
              "Start": "2011-01-01",
              "Finish": "2012-06-05",
              "Complete": 25,
          },
      ]
  
      test_gantt_chart = ff.create_gantt(
          df,
          colors="Blues",
          index_col="Complete",
          reverse_colors=True,
          title="Title",
          bar_width=0.5,
          showgrid_x=True,
          showgrid_y=True,
          height=500,
          width=500,
      )
  
      exp_gantt_chart = graph_objs.Figure(
          **{
              "data": [
                  {
                      "x": [
                          "2011-01-01",
                          "2012-06-05",
                          "2012-06-05",
                          "2011-01-01",
                      ],
                      "y": [0.5, 0.5, 1.5, 1.5],
                      "mode": "none",
                      "fill": "toself",
                      "showlegend": False,
                      "hoverinfo": "name",
                      "legendgroup": "rgb(166.25, 167.5, 208.0)",
                      "fillcolor": "rgb(166.25, 167.5, 208.0)",
                      "name": "25",
                  },
                  {
                      "x": [
                          "2010-01-01",
                          "2011-02-02",
                          "2011-02-02",
                          "2010-01-01",
                      ],
                      "y": [-0.5, -0.5, 0.5, 0.5],
                      "mode": "none",
                      "fill": "toself",
                      "showlegend": False,
                      "hoverinfo": "name",
                      "legendgroup": "rgb(220.0, 220.0, 220.0)",
                      "fillcolor": "rgb(220.0, 220.0, 220.0)",
                      "name": "0",
                  },
                  {
                      "x": ["2011-01-01", "2012-06-05"],
                      "y": [1, 1],
                      "mode": "markers",
                      "text": [None, None],
                      "marker": {
                          "color": "rgb(166.25, 167.5, 208.0)",
                          "size": 1,
                          "opacity": 0,
                      },
                      "name": "",
                      "showlegend": False,
                      "legendgroup": "rgb(166.25, 167.5, 208.0)",
                  },
                  {
                      "x": ["2010-01-01", "2011-02-02"],
                      "y": [0, 0],
                      "mode": "markers",
                      "text": [None, None],
                      "marker": {
                          "color": "rgb(220.0, 220.0, 220.0)",
                          "size": 1,
                          "opacity": 0,
                      },
                      "name": "",
                      "showlegend": False,
                      "legendgroup": "rgb(220.0, 220.0, 220.0)",
                  },
              ],
              "layout": {
                  "title": "Title",
                  "showlegend": False,
                  "height": 500,
                  "width": 500,
                  "shapes": [],
                  "hovermode": "closest",
                  "yaxis": {
                      "showgrid": True,
                      "ticktext": ["Run", "Fast"],
                      "tickvals": [0, 1],
                      "range": [-1, 3],
                      "autorange": False,
                      "zeroline": False,
                  },
                  "xaxis": {
                      "showgrid": True,
                      "zeroline": False,
                      "rangeselector": {
                          "buttons": [
                              {
                                  "count": 7,
                                  "label": "1w",
                                  "step": "day",
                                  "stepmode": "backward",
                              },
                              {
                                  "count": 1,
                                  "label": "1m",
                                  "step": "month",
                                  "stepmode": "backward",
                              },
                              {
                                  "count": 6,
                                  "label": "6m",
                                  "step": "month",
                                  "stepmode": "backward",
                              },
                              {
                                  "count": 1,
                                  "label": "YTD",
                                  "step": "year",
                                  "stepmode": "todate",
                              },
                              {
                                  "count": 1,
                                  "label": "1y",
                                  "step": "year",
                                  "stepmode": "backward",
                              },
                              {"step": "all"},
                          ]
                      },
                      "type": "date",
                  },
              },
          }
      )
  
      self.assert_fig_equal(
          test_gantt_chart["data"][0], exp_gantt_chart["data"][0]
      )
  
      self.assert_fig_equal(
          test_gantt_chart["data"][1], exp_gantt_chart["data"][1]
      )
  
      self.assert_fig_equal(
          test_gantt_chart["data"][2], exp_gantt_chart["data"][2]
      )
  
      self.assert_fig_equal(
          test_gantt_chart["layout"], exp_gantt_chart["layout"]
      )
  
imports: import math
  from unittest import TestCase
  import datetime
  import plotly.figure_factory
  import plotly.io
  from plotly.exceptions import PlotlyError
  from plotly.tests.test_optional.optional_utils import NumpyTestUtilsMixin
  from plotly.graph_objs import graph_objs
  from plotly.tests.utils import TestCaseNoTemplate
label_desc: Use image node_id 5 for calling the TestGantt obj's underlying member method code with example usage: obj.test_gantt_all_args() without return types