optimap.utils¶
General utility functions.
Functions
|
Function decorator to mark a function as deprecated. |
Disable automatic switching of the matplotlib backend to Qt when necessary. |
|
|
Download example data if not already present. |
Enable automatic switching of the matplotlib backend to Qt when necessary. |
|
|
Function decorator to change backend temporarily in Ipython session. |
Returns whether optimap is verbose. |
|
|
Helper function for our documentation to render animations in Jupyter notebooks. |
|
Print a bar to separate sections of output. |
|
Print properties of an array. |
|
|
|
Set verbosity of optimap. |
- optimap.utils.set_verbose(state=True)[source]¶
Set verbosity of optimap.
- Parameters:
state (bool) – If True, optimap will print more information.
- optimap.utils.is_verbose()[source]¶
Returns whether optimap is verbose.
- Returns:
Whether optimap is verbose.
- Return type:
- optimap.utils.enable_interactive_backend_switching()[source]¶
Enable automatic switching of the matplotlib backend to Qt when necessary.
See also
disable_interactive_backend_switching()
.
- optimap.utils.disable_interactive_backend_switching()[source]¶
Disable automatic switching of the matplotlib backend to Qt when necessary.
See also
enable_interactive_backend_switching()
.