Skip to content

Commit 62472c9

Browse files
committed
update docs warning
1 parent a67ae8d commit 62472c9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

doc/source/getting_started/intro_tutorials/04_plotting.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,13 @@ number of alternatives are available to plot data. Let’s use some
121121
standard Python to get an overview of the available plot methods:
122122

123123
.. ipython:: python
124+
:okwarning:
124125
125-
import warnings
126-
with warnings.catch_warnings():
127-
warnings.simplefilter("ignore")
128-
[
129-
method_name
130-
for method_name in dir(air_quality.plot)
131-
if not method_name.startswith("_")
132-
]
126+
[
127+
method_name
128+
for method_name in dir(air_quality.plot)
129+
if not method_name.startswith("_")
130+
]
133131
134132
.. note::
135133
In many development environments such as IPython and

0 commit comments

Comments
 (0)