-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
pyplot/pycall API updates #1932
Comments
Thanks. Yeah, the disadvantage with Plots' conditional package loading is that we can't depend on different versions of the backend packages. So, we'll tag a Plots 0.24.0 with the change, and everyone will just have to update to the newest PyCall and PyPlot versions to use the backend. |
You can check for e.g. |
Ah, that's nice! |
I'll merge #1933 since it appears harmless. Thanks! |
#1933 doesn't close this. You still have lots of other deprecated usages like
|
Oh :-O on it |
@stevengj Is there a way to still do something like letter = axis[:letter]
lfrom, lto = axis_limits(axis)
ax[Symbol("set_", letter, "lim")](lfrom, lto) with the new API? |
I think you can call |
Thanks a lot @diegozea ! |
Note also that in many of these cases you might want to switch from |
Thanks! |
PyCall 1.90.0 and PyPlot 2.8.0 are now released, which change
o[:foo]
ando["foo"]
too.foo
ando."foo"
, respectively, for python objectso
.The old
getindex
methods still work but are deprecated, so you'll want to put out a new Plots.jl release that uses the new methods and REQUIREs the new versions to avoid having zillions of deprecation messages.The text was updated successfully, but these errors were encountered: