Revert changes. Use separate private methods for adding attributes.
Revert changes. Use separate private methods for adding attributes.

So that methods can be defined dynamically later based on transform
type.

SciRuby/plotrb