I'm not sure if this is a bug in Dash or Plotly.js, but seeing as I can't reproduce it when saving the figure with plotly.offline.plot, I'll put it here.
Whenever I select scatter points in a Dash app, I've started getting the following error:

It doesn't seem to affect the running of the app, any callbacks are still fired for the selected points.
Simplest example to reproduce:
import dash
import dash_core_components as dcc
import dash_html_components as html
import random
app = dash.Dash()
app.layout = html.Div([
dcc.Graph(
id='example-graph',
figure={
'data': [
{
'x': [random.random() for _ in range(20)],
'y': [random.random() for _ in range(20)],
'type': 'scatter',
'mode': 'markers'
}
],
'layout': {
'dragmode': 'select'
}
}
)
])
if __name__ == '__main__':
app.run_server(dev_tools_serve_dev_bundles=True)
Versions:
dash==0.41.0
dash-core-components==0.46.0
dash-html-components==0.15.0
dash-renderer==0.22.0
plotly==3.7.1
Also, for some reason I'm not getting the dev bundles when I set dev_tools_serve_dev_bundles=True, so sorry if the stack trace isn't very helpful!