Closed mdhe1248 closed 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?
getp
I tried,
getp(gca()) #setp(gca()) works. getproperty(gca(), :xlabel)
Both does not work.
Oh, it works with plt.getp:
plt.getp
plt.getp(gca(), "xlabel")
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,
Both does not work.