Skip to content

Bad formatting for subfigure titles #1450

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

Closed
brollb opened this issue Mar 4, 2020 · 3 comments
Closed

Bad formatting for subfigure titles #1450

brollb opened this issue Mar 4, 2020 · 3 comments
Assignees
Labels
bug job feedback Graphs, images, and other feedback generated during job execution.
Milestone

Comments

@brollb
Copy link
Contributor

brollb commented Mar 4, 2020

When creating multiple subfigures (with titles), the title can overlap the label for the x-axis as shown below:

DeepinScreenshot_select-area_20200304111221

@brollb brollb added bug job feedback Graphs, images, and other feedback generated during job execution. labels Mar 4, 2020
@brollb
Copy link
Contributor Author

brollb commented Mar 5, 2020

Upon closer inspection, it also appears that the titles are not placed in the same position above each subfigure. In the left column, the titles are further to the right than in the right column...

@umesh-timalsina
Copy link
Contributor

umesh-timalsina commented Mar 6, 2020

This could be resolved by using the property domain of the plotly.js x and y axis. Though, plotly/plotly.js#2746 has a pretty solid discussion on why this will be a challenge to generate a dynamic subplot title without bad formats. A thorough look should be given to plotly.py and how it implements subplots title.

@umesh-timalsina umesh-timalsina added this to the 2.2.0 milestone Mar 19, 2020
@umesh-timalsina
Copy link
Contributor

I think we are better off by adding plot number (a.), (b.), (c.)... and adding a text area at the end with all the subplots title.

umesh-timalsina added a commit that referenced this issue Apr 8, 2020
1. Calculate tighter margins necessity for plots
2. Use smaller fonts for x, y and z-label
@brollb brollb closed this as completed in 8dbe286 Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug job feedback Graphs, images, and other feedback generated during job execution.
Projects
None yet
Development

No branches or pull requests

2 participants