Interface between matplotlib and plotly