Skip to content
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

Various python updates (plotGlPixelRatio, template dimensions, json engine, AWS Lambda) #76

Merged
merged 5 commits into from
Feb 28, 2021

Conversation

jonmmease
Copy link
Collaborator

This PR bundles several fixes and improvements

Honor plotly figure's template dimensions

Closes #62 by honoring the width/height specifications stored in the plotly figure template.
(0fa6083)

Set default plotGlPixelRatio based on the scale factor

Addresses the Kaleido portion of #58 by setting the default value of plotGlPixelRatio to twice the image scale factor. Note that not all of the WebGL plotly.js trace types honor this property yet (see plotly/plotly.js#5500 for work on that front)
(42234c3)

Refactor JSON encoding to take advantage of future plotly.py performance enhancements

Refactors how plotly.py JSON encoding is performed to take advantage of the future JSON encoding performance enhancements coming in plotly.py version 5 (see plotly/plotly.py#2955)
(eb7dfb8)

Default AWS Lambda support

Add --single-process chromium flag to default set when we detect that we're running on AWS Lambda. See #74. cc @carterthayer
(fa3cd67)

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.

Layout properties specified through templates not applied on io.write_image()
1 participant