Updated plotly library interaction.