How to prevent users from selecting nothing in a bar chart

While handling the callback from not firing if there’s no data I would like to prevent users from being able to select nothing from the start.

Is that possible without making a callback that will return nothing to the selectedData?

While it would be nice to have this happen automatically because it makes sense, I found a fix for this.
make a callback that runs on selectedData, and return a new figure
where you set that figure selectedPoints to be None.

That will deselect the selection of nothing.