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

Occupancy plot to pdf #57

Closed
DavidLP opened this issue Aug 16, 2016 · 9 comments
Closed

Occupancy plot to pdf #57

DavidLP opened this issue Aug 16, 2016 · 9 comments
Assignees

Comments

@DavidLP
Copy link
Collaborator

DavidLP commented Aug 16, 2016

When I use mask_step: 3 and enable_mask_steps: [1] I get the following result plot:

capture

How does that make sence?

@laborleben
Copy link
Collaborator

laborleben commented Aug 17, 2016

this is just displaying the moiré effect? Can you confirm with the binary mask?

@DavidLP
Copy link
Collaborator Author

DavidLP commented Aug 17, 2016

Maybe. But I think that was working once.

@DavidLP
Copy link
Collaborator Author

DavidLP commented Aug 23, 2016

The mask is correct. It is really just this plot. The larger plot looks also better.

@laborleben
Copy link
Collaborator

laborleben commented Aug 24, 2016

matplotlib/matplotlib#2972

This is explaining it.

@DavidLP
Copy link
Collaborator Author

DavidLP commented Aug 24, 2016

I do not see how that explains anything, since I do not see a blur.

@laborleben
Copy link
Collaborator

laborleben commented Aug 24, 2016

As it is now in development, the full resolution is displayed (interpolation="none"). So every pixel is displayed when zooming in. There are effects with some PDF viewers which interpolate when zooming out (the PDF looks like interpolation="nearest").

@DavidLP
Copy link
Collaborator Author

DavidLP commented Aug 24, 2016

When I zoom in it looks the same. It is not an interpolation issue when I zoom out ?!

@laborleben
Copy link
Collaborator

The explanation is, that with interpolation="nearest" and using the PDF backend the resolution is reduced which leads to the observed behavior. Yesterday, I changed the "nearest" to "none" and now you are able to see every pixel (when zooming in, at least under Ubuntu with default PDF viewer).

@DavidLP
Copy link
Collaborator Author

DavidLP commented Aug 24, 2016

Ahh ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants