I have a plotly graph in R where I want to download the graph as a .png with the “compare data on hover” at a specific x value. Since I need to do it for a lot of graphs, moving the mouse pointer to a specific location and taking a screenshot becomes tedious and unreliable as I want the same plot area.
1