publish code and data for plotly post