xoa.reset_options

Contents

xoa.reset_options#

xoa.reset_options()[source]#

Restore options to their default values in the current session

Example

In [1]: print(get_option('plot.cmapdiv'))
cmo.balance

In [2]: set_options('plot', cmapdiv='mycmap')
Out[2]: <xoa.set_options at 0x72b3bb1fcd70>

In [3]: print(get_option('plot.cmapdiv'))
mycmap

In [4]: reset_options()

In [5]: print(get_option('plot.cmapdiv'))
cmo.balance