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

view_distance parameter in show_geometry has no effect #1954

Open
lauramurgatroyd opened this issue Oct 15, 2024 · 2 comments
Open

view_distance parameter in show_geometry has no effect #1954

lauramurgatroyd opened this issue Oct 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lauramurgatroyd
Copy link
Member

Description

I would expect this to change how zoomed in the geometry appears but it has no impact

Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)

24.1.0 -1 3.12.5 | packaged by conda-forge | (main, Aug 8 2024, 18:36:51) [GCC 12.4.0] linux

@lauramurgatroyd lauramurgatroyd added the bug Something isn't working label Oct 15, 2024
@lauramurgatroyd
Copy link
Member Author

This is relevant for the hyperspectral CIL-Demos: we want to make this more zoomed in

TomographicImaging/CIL-Demos#160 (comment)

@gfardell
Copy link
Member

gfardell commented Oct 16, 2024

The matplotlib 3D axis distance was deprecated in matplotlib 3.6, they recommend using zoom now.

https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.6.0.html#axes3d-dist

self.ax.dist = view_distance

@paskino paskino added this to the Future Version milestone Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

3 participants