skrf.plotting.func_on_all_figs

skrf.plotting.func_on_all_figs(func, *args, **kwargs)[source]

runs a function after making all open figures current.

useful if you need to change the properties of many open figures at once, like turn off the grid.

Parameters:
  • func (function) – function to call
  • **kwargs (*args,) –

Examples

>>> rf.func_on_all_figs(grid,alpha=.3)