numpy plotly gradi