skrf.plotting.func_on_all_figs

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

Run 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

  • *args (passed to func)

  • **kwargs (passed to func)

Examples

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