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

AttributeError: 'Path' object has no attribute 'show_on_axis' #30

Open
mpatir opened this issue Apr 4, 2024 · 1 comment
Open

AttributeError: 'Path' object has no attribute 'show_on_axis' #30

mpatir opened this issue Apr 4, 2024 · 1 comment

Comments

@mpatir
Copy link

mpatir commented Apr 4, 2024

Hi developers.

I was following the nice tutorial on how to make a pvds.
However, I get an attribute error when I try to show my chosen path. Could you please assist me in fixing this?

error message

path.show_on_axis(ax, spacing=1, color='r')
AttributeError: 'Path' object has no attribute 'show_on_axis'

I am using Python 2.7 if that helps at all.

@keflavich
Copy link
Contributor

@mpatir python2.7 has been deprecated for several years, that is likely the problem. You need to switch to python 3, probably >=3.10

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

2 participants