JuliaPy / PyPlot.jl

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

getp not defined? #560

Closed mdhe1248 closed 1 year ago

mdhe1248 commented 1 year ago

I was trying to get properties from a plot/pyobject using getp. But this function is not defined. How can I get properties from a plot object?

I tried,

getp(gca()) #setp(gca()) works.
getproperty(gca(), :xlabel)

Both does not work.

mdhe1248 commented 1 year ago

Oh, it works with plt.getp:

plt.getp(gca(), "xlabel")