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
{{ message }}
Repository navigation
Patchwork of patwchrok does not handle title properly #434
Activity
Breeze-Hu commentedon Jun 18, 2025
I feel as if the situation is somewhat similar to this issue: #416
Looking forward to the developer's fix :-)
bug1303 commentedon Mar 17, 2026
Had a similar issue and found a work-around here: https://stackoverflow.com/questions/69970971/plot-annotations-disappear-via-patchwork-in-r
You can do
wrap_elements(first_plot) + wrap_elements(second_plot)or even:
(wrap_elements(first_plot) + wrap_elements(second_plot))/(wrap_elements(first_plot) + wrap_elements(second_plot))Also described in the docs (https://patchwork.data-imaginist.com/articles/guides/annotation.html#titles-subtitles-and-captions):
"It is important to note that plot annotations only have an effect on the top-level patchwork. Any annotation added to nested patchworks are (currently) lost. If you need to have annotations for a nested patchwork you’ll need to wrap it in wrap_elements() with the side-effect that alignment no longer works."