Skip to content

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