Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
I really appreciate thesubtitle parameter within Plotly Express charts. However, I'm finding that, when I usetitle_y to update the title's location, the subtitle's location doesn't follow accordingly. This can result in unsightly gaps between the title and subtitle.
Would it be possible to add asubtitle_y dimension that would let me adjust the spacing between title and subtitle elements? I supposesubtitle_x would be handy also in case some users want a horizontal offset between titles and subtitles.
Here are some screenshots for reference. First, in this chart, I'd like to move the title and subtitle up to increase the spacing between those elements and my legend:

I can settitle_y to 0.98 to move it farther from the legend; however, the y position of the subtitle moves up only a little, thus increasing the gap between the two.

If there were a correspondingsubtitle_y parameter that I could adjust, I would be able to easily resolve this issue. (In the meantime, I can get around it by creating subtitles viaadd_annotation.)
Thank you in advance for your consideration and help!