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

plot_geometry error in fresh Python install #624

Open
jbgeb opened this issue Jan 2, 2025 · 2 comments
Open

plot_geometry error in fresh Python install #624

jbgeb opened this issue Jan 2, 2025 · 2 comments

Comments

@jbgeb
Copy link

jbgeb commented Jan 2, 2025

Expected Behavior

Plot the defined (or default) geometry using the demo script d01_CreateGeometry.py

Actual Behavior

Opens empty Matplotlib window. Returns error:

Exception in Tkinter callback

...

AttributeError: 'PathPatch3D' object has no attribute '_axlim_clip'

Code to reproduce the problem (If applicable)

This happens with a newly installation of tigre in a conda environment and running the first demo script (d01_CreateGeometry.py)

Specifications

  • Python version: 3.13.1
  • OS: Ubuntu 22.04.5 LTS

Package Versions:

  • matplotlib: 3.10.0
  • numpy: 2.2.1
  • pytigre: 3.0.0
@AnderBiguri
Copy link
Member

Thanks, I'll investigate!

In any case, this is just an auxiliary visualizing function, the computational part of TIGRE will work for you anyways, don't let it stop you :)

@blanklijiaustc
Copy link

I also meet this error.

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

No branches or pull requests

3 participants