scanpy._settings.ScanpyConfig.logfile#
- property ScanpyConfig.logfile: TextIO[source]#
The open file to write logs to.
Set it to a
Path
orstr
to open a new one. The defaultNone
corresponds tosys.stdout
in jupyter notebooks and tosys.stderr
otherwise.For backwards compatibility, setting it to
''
behaves like setting it toNone
.