8000 Changes to make when we depend on astropy 7.0 · Issue #7991 · sunpy/sunpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Changes to make when we depend on astropy 7.0 #7991

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

Open
tanishy7777 opened this issue Jan 9, 2025 · 2 comments
Open

Changes to make when we depend on astropy 7.0 #7991

tanishy7777 opened this issue Jan 9, 2025 · 2 comments

Comments

@tanishy7777
Copy link
Contributor
tanishy7777 commented Jan 9, 2025

Describe the feature

Astropy >= 7.0 uses declination_axis.set_major_formatter(new_format_method)

Proposed solution

replace

declination_axis._formatter_locator.formatter = new_format_method

with

declination_axis.set_major_formatter(new_format_method)

in sunpy/visualization/visualization.py

@nabobalis nabobalis changed the title use declination_axis.set_major_formatter(new_format_method) Changes to make when we depend on astropy 7.0 Jan 9, 2025
@advait-zx
Copy link
Contributor

sunpy.visualization.visualization.py
cant find file location

@nabobalis
Copy link
Member

I'll have to correct that but until sunpy depends on 7.0, this can't be fixed.

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 a pull request may close this issue.

3 participants
0