Closed MaxandreJ closed 5 years ago
My understanding this is an issue with julia 0.7 / 1.0 taking this name for a standard array operation in Julia, not a Juno issue. It is kind of a tricky problem as it is the standard name in matplotlib for a plotting axes, and given that PyPlot.jl aims to be a literal translation of this api it would need to be somehow shielded like with plot[:axes]
which could be super inconvenient.
Okay, thanks for letting me know. I suppose that this issue can't reasonably be solved then.
I think we should just stop exporting axes
. Once https://github.com/JuliaPy/PyCall.jl/pull/517 is merged you can just do plt.axes()
.
Fixed by c7afdfd64539ff411df565d8b74ed63fcf6aee86 ... you can just use PyPlot.axes
to refer to this function.
Hi,
When I import PyPlot using
using PyPlot
I get the following Warning:using PyPlot.axes in module ... conflicts with an existing identifier
After a little search online this seems to be a conflict with Juno. I know I can do
import PyPlot
instead ofusing PyPlot
but this feels a little clunky. It would be great if I could useusing PyPlot
without any conflicts with a standard module! Maybe this is rather an issue with Juno though...Best, Maxandre