Skip to content

Commit 4b5e308

Browse files
committed
changes per code review
1 parent 2d278bb commit 4b5e308

2 files changed

Lines changed: 9 additions & 24 deletions

File tree

docsrc/hello_world.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,6 @@ Jupyter Lab Notebook requirements
219219
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
220220

221221
In a Jupyter notebook, this package requires the `ipywidgets <https://ipywidgets.readthedocs.io/en/latest/index.html>`_ package.
222-
You must enable the ipywidgets notebook extension via command:
223-
224-
.. code-block:: bash
225-
226-
jupyter nbextension enable --py widgetsnbextension
227-
228-
229-
For more information, see the
222+
For help on installation and configuration, see
230223
`ipywidgets installation instructions <https://ipywidgets.readthedocs.io/en/latest/user_install.html#>`_
231224
and `this tqdm GitHub issue <https://github.com/tqdm/tqdm/issues/394#issuecomment-384743637>`_.

docsrc/installation.rst

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,14 @@ to do so is via the ``install_cmdstan`` function
7979
virtual environment.
8080

8181

82-
Jupyter notebook users
83-
----------------------
84-
85-
CmdStanPy can display progress bars during sampling and during the CmdStan build process
86-
which have been implemented using `tqdm <https://github.com/tqdm/tqdm>`_.
87-
In a Jupyter notebook, this package requires the `ipywidgets <https://ipywidgets.readthedocs.io/en/latest/index.html>`_ package.
88-
You must enable the ipywidgets notebook extension via command:
89-
90-
.. code-block:: bash
91-
92-
jupyter nbextension enable --py widgetsnbextension
93-
94-
95-
For more information, see the
96-
`ipywidgets installation instructions <https://ipywidgets.readthedocs.io/en/latest/user_install.html#>`_
97-
and `this tqdm GitHub issue <https://github.com/tqdm/tqdm/issues/394#issuecomment-384743637>`_.
82+
**Jupyter notebook users:** CmdStanPy can display progress bars during sampling
83+
as well as during the CmdStan build process; these are implemented using the
84+
`tqdm <https://github.com/tqdm/tqdm>`_ package, which uses the
85+
`ipywidgets <https://ipywidgets.readthedocs.io/en/latest/index.html>`_ package
86+
in order to update the browser display. For further help on installation
87+
and configuration, see
88+
`ipywidgets installation instructions <https://ipywidgets.readthedocs.io/en/latest/user_install.html#>`_
89+
and `this tqdm GitHub issue <https://github.com/tqdm/tqdm/issues/394#issuecomment-384743637>`_.
9890

9991

10092

0 commit comments

Comments
 (0)