Closed psychelzh closed 7 months ago
You are running into operator precedence issues, which are super annoying but not something patchwork can control as it works at the language level
(p1 | p2) + plot_layout(axes = "collect_y")
gives you the correct plot
Ah, I am sorry for such disturbance. I did not realize this.
Given this is not really related to patchwork, I am closing this. Thank you very much for explanation.
A simple example. The y axes for these two plots are indeed the same but collecting is not done. Tried corresponding
"collect_x"
, which works as expect.Created on 2024-03-05 with reprex v2.1.0