I have a plotly function inside a ShinyApp, which can plot different plots (line, boxplot, violinplots) depending on the user Input.
Since the different traces take d