FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix issue where plot fails to render if unsupported MathJax version is present on page by emilykl · Pull Request #7951 · plotly/plotly.js · GitHub

Fix issue where plot fails to render if unsupported MathJax version is present on page - #7951

Merged
emilykl merged 5 commits into
v4.0from
fix-mathjax-issue
Aug 13, 2026
Merged

Fix issue where plot fails to render if unsupported MathJax version is present on page#7951
emilykl merged 5 commits into
v4.0from
fix-mathjax-issue

Conversation

emilykl commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Link to Issue

Closes #7926

Description

Fixes an issue where the presence of an unsupported MathJax version on the page would cause the entire plot not to render if it contained a tex string ($...$).

This was due to the code path which detected an unsupported MathJax version not calling _callback() directly the way we did in other failure cases. This PR adds a call to _callback() in that case, and adds regression tests for the issue.

emilykl changed the base branch from master to v4.0 August 9, 2026 16:31
emilykl requested a review from camdecoster August 9, 2026 16:31
emilykl added this to the v4.0.0 milestone Aug 9, 2026
emilykl changed the title Fix issue where plot failed to render if unsupported MathJax version was present on page Fix issue where plot failed to render if unsupported MathJax version is present on page Aug 10, 2026
camdecoster changed the title Fix issue where plot failed to render if unsupported MathJax version is present on page Fix issue where plot fails to render if unsupported MathJax version is present on page Aug 10, 2026

camdecoster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good. I left one suggestion.

Comment thread draftlogs/7951_fix.md Outdated
Comment thread src/lib/svg_text_utils.js Outdated
emilykl and others added 2 commits August 13, 2026 14:45
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
emilykl merged commit fcf6e99 into v4.0 Aug 13, 2026
244 of 247 checks passed
emilykl deleted the fix-mathjax-issue branch August 13, 2026 19:17
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: 4.0 RC: Unsupported MathJax version causes entire plot not to render

2 participants


Back | FazBrowse Home | New Git URL