Update x range on resampled data

fig2.update_xaxes( range=(‘2018-01-01’, dt.date.today())

The above code line works perfectly in updating the x-range axis. However, when i resampled the data from daily to monthly (the format is '1/2018), i tried to update the x-range axis by typing the following code line:

fig2.update_xaxes( range=(‘1/2018’, dt.date.today())

The output was still displayed without showing any errors. However, the x-range axis was not updated as the way I wanted.

Any ideas how to update the x-range axis in this case?