-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can't make custom bundle with strict scattergl trace #6496
Comments
@archmoj is there a way to use the strict gl traces in custom bundles? |
I don't see such an option in https://github.com/plotly/plotly.js/blob/master/tasks/custom_bundle.js |
@CallumNZ if you are interested to submit a PR, here you could possibly declare plotly.js/tasks/custom_bundle.js Line 54 in 7427f14
something like: var strict = inputBoolean(args.strict, false); then once enabled point to index-strict.js here: plotly.js/tasks/custom_bundle.js Line 65 in 7427f14
strict: strict,
index: path.join(constants.pathToLib, 'index-' (strict ? 'strict-' : '') + out + '.js') |
Thanks @archmoj, I will give it a go! |
Done |
I want to make a custom bundle that just includes the
scattergl
graph from thestrict
bundle. I tried the following:Error:
scattergl-strict is not a valid trace!
I saw the name
scattergl-strict
here, so thought it might work.Not sure if it's the wrong command, a bug, or not a feature.
Thanks.
The text was updated successfully, but these errors were encountered: