JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
475 stars 87 forks source link

ax.yaxis.set_label_position("right") #395

Closed janrpeters closed 5 years ago

janrpeters commented 5 years ago

I translated ax.yaxis.set_label_position("right") to ax[:yaxis][:set_label_position]("right") but it does not work. Does that feature exist?

stevengj commented 5 years ago

Works for me, e.g.

plot(rand(100))
ax = gca()
ax[:yaxis][:set_label_position]("right")
ylabel("foo")