I am using a DatePicker widget for selecting dates based on which I have to do some tasks in Jupyter notebook procedures. The DatePicker widget is created using ipywidget library.
The problem which I am facing now is that it shows all the dates of month and years.
Is there any way by which I can disable the dates which are not present in a list containing all the valid dates for my application.
For instance lets say I have a list of dates which has 2018-12-25, 2019-01-09 and 2019-01-13. So now, I want only these days to be enabled in the DatePicker widget and rest of the dates should be disabled.
Please suggest and help.!!!