You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to plot several ggplots with facet_grids with plotly. The plots should have a common legend. Unfortunately, I can't get it that the y-axes are not cut off (#1224), only one legend is displayed and there are no repetitions in the legend, as in the example:
I have found the same question several times on stackoverflow, but unfortunately without a working solution.
Among other things it is suggested to create a ggplot with several facets instead of several ggplots. However, I create a shiny app where the user can customize the plots and maybe has already defined facet rows and columns. Also the plots have different y-axis labels because the units are different (It is not impossible to define different ylabs for each facet, but actually it does not correspond to the ggplot philosophy and needs some tweaking).
I would be grateful for a solution or a workaround to this problem.
The text was updated successfully, but these errors were encountered:
I want to plot several ggplots with facet_grids with plotly. The plots should have a common legend. Unfortunately, I can't get it that the y-axes are not cut off (#1224), only one legend is displayed and there are no repetitions in the legend, as in the example:
I have found the same question several times on stackoverflow, but unfortunately without a working solution.
Among other things it is suggested to create a ggplot with several facets instead of several ggplots. However, I create a shiny app where the user can customize the plots and maybe has already defined facet rows and columns. Also the plots have different y-axis labels because the units are different (It is not impossible to define different ylabs for each facet, but actually it does not correspond to the ggplot philosophy and needs some tweaking).
I would be grateful for a solution or a workaround to this problem.
The text was updated successfully, but these errors were encountered: