Managing (and renaming) instance variables of class compositions
问题 I would like to make a class composition so that the instance variables of the composing classes become instance variables of the composition but with adjusted names. The application for this is in defining new objects for drawing in matplotlib. One example is that I would like to have a function drawMyArrow that draws an arrow with possibly different colors (and other specifications) for its head, tail, and arc. I would like to be able to pass various specifications for the head, tail, and