-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix issue causing empty ScatterGL plots when using text elements #7563
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
Conversation
Also should resolve plotly/plotly.py#5336 but that won't be closed until this fix is included in Plotly.py. |
cdf9dcc
to
443b385
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked for me. I made a couple of small comments for formatting changes.
tasks/compress_attributes.js
Outdated
makeStringRegex('hrName') | ||
]; | ||
|
||
var esbuildPluginStripMeta = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var esbuildPluginStripMeta = { | |
const esbuildPluginStripMeta = { |
Another bonus: Possibly reduces build time (this is just one data point, wanted to do a sanity check to make sure it wasn't massively slower)
|
faster is gooder |
This bug should have been caught by the CI, but it turns out that we weren't actually running the (And the tests on this branch I just created prove that many baseline images fail to generate when we are using the correct build process in the CI.) |
Closes #7353 , #7441
Uncaught TypeError: systemFontKeywords.indexOf is not a function
css-system-font-keywords
(sub-)dependency not being included properly during the build processThanks to @ayjayt for helping diagnose and to @WeisSeb and @pawel-paciorek-at-metrohm for reporting.
Minimal HTML/JS example demonstrating issue
(Based on @WeisSeb 's example in #7353)
Should look like:

Steps for testing
npm i && npm run build
plotly.js/
directory and visit in your browser