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

Use plotly figure width and height if present #18

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

jonmmease
Copy link
Collaborator

Closes #12

Handle figure width/height with the following precedence:

  1. kwargs to scope.transform (and by extension plotly.io.to_image/plotly.io.write_image)
  2. Figure's layout width/height
  3. Scope's default_width/default_height properties.

cc @kvanderwijst @nicolaskruchten

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.

Kaleido ignores width/height from Plotly figure
1 participant