How do I hide the column grid lines on a chart in xlsxwriter. I looked at the documentation page in the chart formatting section and wasn't able to find any example.
Thanks!
How do I hide the column grid lines on a chart in xlsxwriter. I looked at the documentation page in the chart formatting section and wasn't able to find any example.
Thanks!
If you take a look at the documentation for the chart class, there are the methods
set_x_axis
andset_y_axis
. It takes a dictionary of formatting options. One of the options you can pass is{'visible': False}
.You can also configure just the major or minor gridlines with
{'major_gridlines' :{'visible': False}}