Plots.jl: [BUG] PyPlot matplotlib 3.3 deprecations

Created on 24 Jul 2020  Â·  9Comments  Â·  Source: JuliaPlots/Plots.jl

Only relevant to pyplot with most recent matplotlib

plot(1:10)
sys:1: MatplotlibDeprecationWarning: Passing the fontdict parameter of _set_ticklabels() positionally is deprecated since Matplotlib 3.3; the parameter will become keyword-only two minor releases later.
sys:1: UserWarning: FixedFormatter should only be used together with FixedLocator
sys:1: MatplotlibDeprecationWarning: Case-insensitive properties were deprecated in 3.3 and support will be removed two minor releases later
PyPlot bug good first issue

Most helpful comment

I am getting the same warnings. Until the issue is fixed, is there any way to suppress the warnings?

All 9 comments

I am getting the same warnings. Until the issue is fixed, is there any way to suppress the warnings?

Any word on this?

@John-Boik @lewisl please report on this PR, I think i got this resolved. I would really appreciate if someone can test this with older pyplot so that it does not break back compatibility

How do I install with package manager?

From: isentropic notifications@github.com
Reply-To: "JuliaPlots/Plots.jl" reply@reply.github.com
Date: Sunday, October 4, 2020 at 8:11 PM
To: "JuliaPlots/Plots.jl" Plots.jl@noreply.github.com
Cc: Lewis Levin lewis@neilson-levin.org, Mention mention@noreply.github.com
Subject: Re: [JuliaPlots/Plots.jl] [BUG] PyPlot matplotlib 3.3 deprecations (#2874)

@John-Boikhttps://github.com/John-Boik @lewislhttps://github.com/lewisl please report on this PR, I think i got this resolved. I would really appreciate if someone can test this with older pyplot so that it does not break back compatibility

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JuliaPlots/Plots.jl/issues/2874#issuecomment-703372694, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIYWLOF3QRK2FZYLYCHKGDSJE2MFANCNFSM4PGO2QEQ.

So, I couldn’t test with the mentioned PR. I just updated and it appears that this closed.

Just ran it and got:

sys:1: MatplotlibDeprecationWarning: Passing the fontdict parameter of _set_ticklabels() positionally is deprecated since Matplotlib 3.3; the parameter will become keyword-only two minor releases later.
sys:1: UserWarning: FixedFormatter should only be used together with FixedLocator

From: Daniel Schwabeneder notifications@github.com
Reply-To: "JuliaPlots/Plots.jl" reply@reply.github.com
Date: Monday, October 5, 2020 at 3:35 PM
To: "JuliaPlots/Plots.jl" Plots.jl@noreply.github.com
Cc: Lewis Levin lewis@neilson-levin.org, Mention mention@noreply.github.com
Subject: Re: [JuliaPlots/Plots.jl] [BUG] PyPlot matplotlib 3.3 deprecations (#2874)

Closed #2874https://github.com/JuliaPlots/Plots.jl/issues/2874 via #3034https://github.com/JuliaPlots/Plots.jl/pull/3034.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JuliaPlots/Plots.jl/issues/2874#event-3842692734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIYWLN5NHFIYVVDOAKWMMDSJJC3LANCNFSM4PGO2QEQ.

@lewisl
you'd need to add this https://github.com/isentropic/Plots.jl/tree/pyplot-deprecations in your package manager and see if it works. There was no new release of Plots yet, so this fix is not available by add Plots, but I think you could getaway with add Plots#master

Just tested.

No deprecation messages from matplotlib. Seems to generate first chart much faster too.

Awesome!

Hope this will be released.

From: isentropic notifications@github.com
Reply-To: "JuliaPlots/Plots.jl" reply@reply.github.com
Date: Monday, October 5, 2020 at 11:08 PM
To: "JuliaPlots/Plots.jl" Plots.jl@noreply.github.com
Cc: Lewis Levin lewis@neilson-levin.org, Mention mention@noreply.github.com
Subject: Re: [JuliaPlots/Plots.jl] [BUG] PyPlot matplotlib 3.3 deprecations (#2874)

@lewislhttps://github.com/lewisl
you'd need to add this https://github.com/isentropic/Plots.jl/tree/pyplot-deprecations in your package manager and see if it works. There was no new release of Plots yet, so this fix is available by add Plots, but I think you could getaway with add Plots#master

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JuliaPlots/Plots.jl/issues/2874#issuecomment-704050862, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIYWLMNA6VIWGNSGU7F7LDSJKX7BANCNFSM4PGO2QEQ.

Hi guys,
Can someone exactly say what I need to do to suppress the annoying warnings?

Can someone exactly say what I need to do to suppress the annoying warnings?

This should be fixed in Plots 1.6.9.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SebastianM-C picture SebastianM-C  Â·  4Comments

ereday picture ereday  Â·  3Comments

daschw picture daschw  Â·  3Comments

pkofod picture pkofod  Â·  3Comments

nebuta picture nebuta  Â·  3Comments