-
-
Notifications
You must be signed in to change notification settings - Fork 106
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_sky crashes with matplotlib>v3.4.0 and astroplan v0.8 #561
Comments
I noticed that this doesn't happen and the function behaves as expected if I use the development version. I guess you either fixed this bug or modified the code for other reasons and you fixed it without realizing it was there. What about a bugfix release |
Hi @HealthyPear, thanks for the heads up. I think we're probably due for v0.9 anyways. @wtgee – any objections? |
On Thu, Jun 29, 2023 at 04:21 Brett M. Morris ***@***.***> wrote:
Hi @HealthyPear <https://github.com/HealthyPear>, thanks for the heads
up. I think we're probably due for v0.9 anyways. @wtgee
<https://github.com/wtgee> – any objections?
No objections here! It would be nice to get #555 in before a release, which
I could try to work on this weekend.
—
Reply to this email directly, view it on GitHub
<#561 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAARIUF62KCCUQ2B5A42FQLXNWFOZANCNFSM6AAAAAAZYJCBSY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~Wilfred Tyler Gee
|
I stumbled upon this issue again, so since months have passed if I were you I'd just go for a bugfix release (0.8.1) |
With matplotlib 3.8.1 and astoplan 0.9.1 this bug is solved - closing. |
Calling
plot_sky
from astroplan v0.8 with matplotlib > 3.4 triggers aTypeError
caused by the deprecation and later removal of the keywords associated to plt.cga()
see https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.4.0.html#pyplot-gca-and-figure-gca-keyword-arguments
The deprecation notice using matplotlib v3.4 read in fact as follows,
So solution to this problem is to:
setup.cfg
(v1.4)plot_sky
function to doax = fig.add_subplot(projection='polar')
instead ofax = plt.gca(projection='polar')
The text was updated successfully, but these errors were encountered: