Backward compatible support for style option with DeprecationWarning