python-igraph API reference

List of all classes, functions and methods in python-igraph

module documentation

Undocumented

Function safe_locale Helper function that establishes a context that temporarily switches the current locale to use decimal dots when printing numbers.
@contextmanager
def safe_locale():

Helper function that establishes a context that temporarily switches the current locale to use decimal dots when printing numbers.

This can be used to establish an execution context within which it is safe to call functions that read or write graphs from/to the disk and ensure that they use decimal dots for interoperability with systems that are running with another locale.

Returns
Iterator[None]Undocumented