Turn a notly back into a ggplot object
notly.RdThis function takes a notly object (plotly with embedded ggplot) and turns it into a ggplot object.
It is the inverse function to ggplotly(), allowing you to freely go back and forth betweeen ggplot and plotly.