def _get_rc_timezone():
 s = matplotlib.rcParams[u'timezone']
 if (s == u'UTC'):
  return UTC
 import pytz
 return pytz.timezone(s)

def _get_rc_timezone ( ) : s = matplotlib . rcParams [ u'timezone' ] if ( s == u'UTC' ) : return UTC import pytz return pytz . timezone ( s )
retrieve the preferred timeszone from the rcparams dictionary .