Closed
Description
Plotly.js uses raw console.log
statements to print info, warning, and error messages. Instead, it should use an abstract logger so we can silence warnings in production. Something like https://github.com/FormidableLabs/abstract-log that lets us configure a null
transport in production for anything but errors.
As an example of this happening, try typing some HTML into the rich annotations editor. Before you've closed the opening tag, svg_text_utils.js
spews errors for every update.