minor plotly api change: type->symbol