-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align labels of Bricks when subplot axes are aligned #40
Comments
Sorry, maybe I solved this problem. Please try same one using "pip install git+https://github.com/ponnhide/patchworklib.git" |
Thanks! The issue of duplicated axis labels disappeared again with your update. But unfortunately the alignment also does not work in this example. The plots look the same whether |
Sorry, I did not consider for alining y-labels of subplots. It is difficult a little. When I have time, I try to implement this function. |
In the GitHub version, |
Hi ponnhide!
Big fan of your library, very happy that I came across it. I noticed that sometimes labels of Bricks are not quite aligned when the axes of subplots are aligned, but the bounding box of one of the subplots is larger. Here's a simple example:
I was wondering if there was a way to align the labels of the subplots in this case, i.e. align the A and B labels on the left?
As a workaround, I tried to use
layout.get_outer_corner()[0]
orlayout.get_outer_corner()[0] - bricks[i].get_outer_corner()[0]
to adjust the x ofset_index(x=...)
, but was not successful. Any tips how that could be done?Thanks very much!
The text was updated successfully, but these errors were encountered: