// Generate the API documentation when building
autosummary_generate = True
autodoc_mock_imports = ["_tkinter"]
// both of the following two lines don"t work
// see falexwolf"s issue for numpydoc
// autodoc_member_order = "bysource"
// autodoc_default_flags = ["members"]
After Change
// Don’t use tkinter agg when importing scanpy → … → matplotlib
matplotlib.use("agg")
// remove PyCharm’s old six module
if "six" in sys.modules:
for pypath in list(sys.path):