From 1edb480847868aa29cd19934499afc169d77c196 Mon Sep 17 00:00:00 2001 From: WANG Aiyong Date: Tue, 5 Jan 2021 20:57:08 +0800 Subject: [PATCH] Backport PR #38841: Update conf.py to execute imports during pdf building --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 951a6d4043786..8ab1c8c2f3428 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -427,7 +427,7 @@ ipython_warning_is_error = False -ipython_exec_lines = [ +ipython_execlines = [ "import numpy as np", "import pandas as pd", # This ensures correct rendering on system with console encoding != utf8