Skip to content

Commit

Permalink
DOC: ignore Panel deprecation warnings during doc build (#19663)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored Feb 13, 2018
1 parent df38f66 commit 07137a5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import re
import inspect
import importlib
import warnings

from pandas.compat import u, PY3

try:
Expand Down Expand Up @@ -375,6 +377,13 @@
'wiki': ('https://github.com/pandas-dev/pandas/wiki/%s',
'wiki ')}


# ignore all deprecation warnings from Panel during doc build
# (to avoid the need to add :okwarning: in many places)
warnings.filterwarnings("ignore", message="\nPanel is deprecated",
category=FutureWarning)


ipython_exec_lines = [
'import numpy as np',
'import pandas as pd',
Expand Down

0 comments on commit 07137a5

Please sign in to comment.