arguments to fig2plotly improved