Black Lives Matter. Please consider donating to Black Girls Code today.

Issue about Candlestick function (OHLC chart)

I followed the homepage example via using my trade data price. But there is problem:
I used Intraday price (1 sample per hour) for chart.
Because Saturday and Sunday have no price data , there is a large gap displayed on OHLC chart.

The simply code I used like the example on

if (‘open’ in results and ‘high’ in results and
’low’ in results and ‘price’ in results):
print(“Try to plot OHLC chart…”)
trace = go.Candlestick(
x=new_index,
open=results[“open”],
high=results[“high”],
low=results[“low”],
close=results[“price”])
py.plot([trace], filename=‘styled_candlestick’)

here new_index used for x axis is a string list not date time type list.
[‘2017-12-08 15:00’, ‘2017-12-08 16:00’, ‘2017-12-08 17:00’, ‘2017-12-08 18:00’, ‘2017-12-08 19:00’, ‘2017-12-08 20:00’, ‘2017-12-08 21:00’, ‘2017-12-08 22:00’, ‘2017-12-08 23:00’, ‘2017-12-11 00:00’, ‘2017-12-11 01:00’, ‘2017-12-11 02:00’, ‘2017-12-11 03:00’, ‘2017-12-11 04:00’, '2017-12-11 ]

I tried to pass string type to x parameter of go.Candlestick(), it is automatically parsed as date type and,
even if there is no data between 2017-12-09 and 2017-12-10 (Saturday and Sunday), on the OHLC chart,
2017-12-09 and 2017-12-10 are still displayed as a large gap.
There is any way to not display no data day ??