Skip to content

Commit

Permalink
Update openPMD-viewer documentation (ECP-WarpX#4682)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe authored Feb 8, 2024
1 parent 97e90bb commit 37a0338
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Docs/source/dataanalysis/openpmdviewer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ Usage
-----

openPMD-viewer can be used either in simple Python scripts or in `Jupyter <https://jupyter.org>`__.
For interactive plots in Jupyter notebook, add this `"cell magic" <https://ipython.readthedocs.io/en/stable/interactive/magics.html>`__ to the first line of your notebook:

.. code-block:: python
%matplotlib notebook
and for Jupyter Lab use this instead:
For interactive plots in Jupyter notebook or Jupyter Lab, add this `"cell magic" <https://ipython.readthedocs.io/en/stable/interactive/magics.html>`__ to the first line of your notebook:

.. code-block:: python
Expand Down

0 comments on commit 37a0338

Please sign in to comment.