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

Rasterize pcolormesh by default so that it looks ok in pdf figures #111

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

nvaytet
Copy link
Collaborator

@nvaytet nvaytet commented Sep 29, 2022

When saving maps to pdf, (osyris.map(..., filename='test.pdf'), the grid of the mesh pixels was visible. We now rasterize the mesh (also speeds up rending in notebook for large maps).

Left: before, Right: after
Screenshot at 2022-09-29 16-48-12

@nvaytet nvaytet merged commit 4132cc8 into main Sep 29, 2022
@nvaytet nvaytet deleted the rasterize_maps branch September 29, 2022 18:02
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.

1 participant