-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Plot title should be shifted up when xticks are set to the top of the plot #1415
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
Comments
Definitely another one for the #1109 folio. The traditional fix which seems to have been used in |
I see the mention of QML in #1109. The ideas in QML seem quite similar to the ones in edje, which is one of the libraries behind enlightenment and has been around for nearly a decade ( see http://www.enlightenment.org and http://docs.enlightenment.org/auto/edje/ ). So, it might be useful for you to look at that project since all the theming and layout in enlightenment happens through edje. |
I have just trawled the |
No, it is not even clear how what is going to be implemented at this point, we are still very much at the brainstorming stage. @ppurka : please feel free to put your suggestions in the geom manager issue - what you are saying sounds very sensible indeed. Cheers, |
…graph title when xticks are set to the top of the plot by swapping graph title position to bellow of the x-axis.
…le when xticks are set to the top of the plot by swapping graph title position to bellow of the x-axis for when user sets the title first and then tick_top.
…graph title when xticks are set to the top of the plot by swapping graph title position to bellow of the x-axis.
…le when xticks are set to the top of the plot by swapping graph title position to bellow of the x-axis for when user sets the title first and then tick_top.
I reproduced with 1.5.3: Recommend labeling as geometry manager to mirror #1109, which is still the source of truth for this work |
I think that if there is going to be a partial fix for this any time soon, it will be via using the same logic for the titles as we are using for the xlabel and ylabel. They are already taking into account the ticks and tick labels. An additional wrinkle might be the case of twinned axes; the title-positioning logic for either axes would have to check for ticks and tick labels on both axes. |
This is fixed by #9498. Removing geometry manager label, as its not necessary for this... |
This is an issue that came up in http://trac.sagemath.org/13625
When
subplot.xaxis.tick_top()
is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further up. Example code is as followsThe text was updated successfully, but these errors were encountered: