Dash dependency should be optional. In notebooks where you don't need or have dash installed, it should still be possible to use plotly_resampler