in the GUI for the bumps scientific fitting package, we convert the plotly figures to dict with fig.to_dict() then send them over the wire using msgpack instead of JSON , just for speed as described above. We then show them in our web interface with the plotly.js Plotly.react function. msgpack is nice because it doesn’t need a schema