-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add subtitle to plots #7012
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
Merged
Merged
Add subtitle to plots #7012
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
24ed9c9
add subtitle property and simple prototype
emilykl 7469d8e
add simple subtitle mock
emilykl 3afc2e7
coerce step for subtitle
emilykl 13f8b2a
fully-featured subtitles with plot options
emilykl cf5eb51
add subtitle mock
emilykl 4a55ff2
remove old mock
emilykl 625ea53
fix subtitle placement when title is mathjax
emilykl 972836e
small cleanup of mathjax logic
emilykl f6e9781
add mock testing font options with subtitle
emilykl 35a6599
streamline placeholder logic
emilykl 60a6287
add subtitle to titles tests
emilykl 7eb9e52
fix small bug in subtitle logic
emilykl 7e9fcf9
syntax
emilykl 3190382
re-add removed comment
emilykl 608740f
fix title positioning
emilykl 183518c
french and spanish
emilykl 2452a48
add config test for editable subtitle
emilykl 8bce81b
add plot api react test for subtitle
emilykl 2aca950
add image baselines for subtitle
emilykl ade53d3
update plot-schema
emilykl 13af030
mark restyle radial axis title test as flaky
emilykl b2a26e0
Merge branch 'master' into add-subtitle
emilykl 2790ec7
add draftlog
emilykl 03638ee
add mathjax subtitle mock; add addl padding bw sutbtitle and title wh…
emilykl 8210b58
fix bug with colorbar title
emilykl 496ccc7
fix placeholder positioning bug
emilykl 15754fa
remove zz-subtitle-mathjax mock
archmoj f2cbc23
add mathjax subtitle and title to ternary-mathjax
archmoj f3842e0
test positioning of subtitle when title is mathjax
archmoj e3813f2
update draftlog
emilykl e70e521
fix subtitle position after editing when title is MathJax
emilykl e9e8adb
syntax
emilykl 0d154bb
fix error when no subtitle
emilykl 2aa2b8f
syntax
emilykl 527ff8d
change Object.assign to Lib.extendFlat
emilykl 28d30ee
use `title` and `subtitle` keys instead of `t` and `st`
emilykl aa7b0a6
remove extra newline
emilykl db5de4d
set subtitle font size based on title font size
emilykl 154f481
Merge branch 'add-subtitle' of https://github.com/plotly/plotly.js in…
emilykl 6701eee
change subtitle font size multiplier to 0.7
emilykl 313301c
change plotsubtitle key to subtitle
emilykl 423dfd3
streamline logic
emilykl cef06c8
Update src/plot_api/subroutines.js
emilykl 7cc019d
adjust mathjax padding multiplier
emilykl b7cda0b
render subtitle even if title is not present
emilykl ec166a3
better method of determining subtitle position
emilykl 8e44892
update mathjax baselines
emilykl e189245
bbox bug
emilykl de628de
update baselines
emilykl 47a5b82
take full title+subtitle height into account for automargin
emilykl b8942ee
improved subtitle automargin positioning
emilykl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add `subtitle` attribute to `layout.title` to enable adding subtitles to plots [[#7012](https://github.com/plotly/plotly.js/pull/7012)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.