ENH: make setting of style attributes public