diff --git a/04-geometry-operations.qmd b/04-geometry-operations.qmd index 96e17606..2dc0a2e6 100644 --- a/04-geometry-operations.qmd +++ b/04-geometry-operations.qmd @@ -11,11 +11,16 @@ jupyter: python3 import book_options ``` -```{python .content-visible when-format="pdf"} +::: {.content-visible when-format="pdf"} + +```{python} #| echo: false import book_options_pdf ``` +::: + + This chapter requires importing the following packages: ```{python} diff --git a/book_options_pdf.py b/book_options_pdf.py index e08b3005..ef4faf88 100644 --- a/book_options_pdf.py +++ b/book_options_pdf.py @@ -1,5 +1,2 @@ import pandas as pd -pd.options.display.max_colwidth = 13 - -# Comment this out before building PDF! -pd.options.display.max_colwidth = 35 \ No newline at end of file +pd.options.display.max_colwidth = 13 \ No newline at end of file