Skip to content

Fix scaling of SVG exports by not adding vector-effect to static plots - #6445

Merged
archmoj merged 3 commits into
masterfrom
no-vector-effect-static-plot
Jan 24, 2023
Merged

Fix scaling of SVG exports by not adding vector-effect to static plots#6445
archmoj merged 3 commits into
masterfrom
no-vector-effect-static-plot

Conversation

@archmoj

@archmoj archmoj commented Jan 24, 2023

Copy link
Copy Markdown
Contributor

As discovered by @nicolaskruchten.
@plotly/plotly_js

@archmoj archmoj added bug something broken status: reviewable labels Jan 24, 2023

@alexcjohnson alexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 Well done!

Always makes me a little nervous when baselines change but I can't see what changed. Seems OK though, the renderer must have some slightly different optimizations with or without vector-effect.

@archmoj

archmoj commented Jan 24, 2023

Copy link
Copy Markdown
Contributor Author

For reference, here is the diff:
diff-17
diff-28
diff-line_scatter

@archmoj
archmoj merged commit 51e7512 into master Jan 24, 2023
@archmoj
archmoj deleted the no-vector-effect-static-plot branch January 24, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants