Adding custom modebar button to allow functionality of a third hovermode by color
This is hopefully my final question for this plot. I received help twice previously, both of which worked in standalone plotly graphs, but my plotly object being present in the context of a shiny app presented other issues.