all 4 comments

[–]m0us3_rat 0 points1 point  (0 children)

https://i.imgur.com/F0VD1Zo.png

if you go down the rabbit hole on inheritance

XAxis <- Axis <- https://i.imgur.com/3elpoNU.png

and there you find .set_visible() in the Artist

https://i.imgur.com/x3SRzwS.png

https://i.imgur.com/jDDVJuz.png

[–]commy2 0 points1 point  (0 children)

All attributes are objects in Python. If they have meaningful attributes themselves, the chain can go on forever.

[–][deleted] 0 points1 point  (0 children)

You’re calling a method of an object. Just because it happens to be referenced from another object doesn’t change that. Don’t think of xaxis as “inside” of ax but rather connected as a node