Skip to content

Commit 99ba954

Browse files
committed
improved documentation
1 parent 3cbf73c commit 99ba954

File tree

7 files changed

+170
-324
lines changed

7 files changed

+170
-324
lines changed

doc/source/changelog.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Changelog
33
==========
44

5+
6+
v2.0.1
7+
======
8+
9+
* Bug fix: included static files necessary for serving interactive application
10+
on a new browser window.
11+
* Improved documentation.
12+
13+
514
v2.0.1
615
======
716

doc/source/install.rst

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,48 @@ Installation
55
------------
66

77
SymPy Plotting Backends can be installed with `pip` or `conda`. By default,
8-
only basic plotting with Matplotlib will be installed::
8+
only basic plotting with Numpy and Matplotlib will be installed::
99

1010
pip install sympy_plot_backends
1111

1212
Or::
1313

1414
conda install -c conda-forge sympy_plot_backends
1515

16-
To install the complete requirements in order to get interactive plots, bokeh,
17-
plotly, k3d, vtk, execute the following command::
16+
To install the complete requirements in order to get adaptive algorithm,
17+
interactive plots, bokeh, plotly, k3d, vtk, execute the following command::
1818

1919
pip install sympy_plot_backends[all]
2020

21-
Or::
21+
If you are using zshell, the above `pip` command is going to fail.
22+
Use the following instead::
23+
24+
pip install "sympy_plot_backends[all]"
2225

23-
# optional: colorcet gives more colormaps, scipy gives more numerical
24-
# functions, notebook install the Jupyter Notebook (enabling interactivity)
25-
conda install -c anaconda scipy notebook colorcet
26-
# optional: to install the adaptive algorithm:
26+
To install the complete requirements with conda::
27+
28+
# scipy gives more numerical functions, notebook install the
29+
# Jupyter Notebook (enabling interactivity)
30+
conda install -c anaconda scipy notebook
31+
# to install the adaptive algorithm:
2732
conda install -c conda-forge adaptive
28-
# optional: to install interactive widgets with holoviz's Panel
33+
# to install interactive widgets with holoviz's Panel
2934
conda install -c conda-forge panel
30-
# optional: to install interactive widgets with ipywidgets
35+
# to install interactive widgets with ipywidgets
3136
conda install -c anaconda ipywidgets
3237
conda install -c conda-forge ipympl
3338
conda install -c bokeh ipywidgets_bokeh
34-
# optional: to install K3D-Jupyter
39+
# colorcet gives more colormaps
40+
conda install -c conda-forge colorcet
41+
# to install K3D-Jupyter
3542
conda install -c conda-forge k3d msgpack-python
36-
# optional: to install Plotly
43+
# to install Plotly
3744
conda install -c plotly plotly
38-
# optional: to enable 3D streamlines plots with matplotlib and K3D-Jupyter
45+
# to enable 3D streamlines plots with matplotlib and K3D-Jupyter
3946
conda install -c conda-forge vtk
40-
# required: to install the basic plotting module with Matplotlib
47+
# finally
4148
conda install -c conda-forge sympy_plot_backends
4249

43-
Finally, if you are using zshell, the above `pip` command is going to fail.
44-
Use the following instead::
45-
46-
pip install "sympy_plot_backends[all]"
4750

4851

4952
Verify the installation
@@ -111,8 +114,9 @@ It is also the perfect time to verify that K3D-Jupyter is working:
111114
4. Restart ``jupyter notebook``
112115
5. Open the previous notebook and execute the plot command.
113116

114-
Refer to the :ref:`tutorials` for a starter guide on using the plotting backends or to the :ref:`functions` to visualize the output of some of the
115-
plotting functions.
117+
Refer :ref:`functions` to explore visualize the output of some of the
118+
plotting functions, or to the :ref:`tutorials` for a starter guide on using
119+
the plotting backends.
116120

117121

118122
Installing Mayavi

doc/source/tutorials/index.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,6 @@
44
Tutorials
55
==========
66

7-
Several Jupyter Notebook tutorials are available in the
8-
`Github repository <https://github.com/Davide-sd/sympy-plot-backends/tree/master/tutorials>`_.
9-
They are designed to illustrate the differences between the backends.
10-
11-
Sadly, given the high number of JS-based figures, it would be unwise to
12-
include them into this documentation page, as the loading of the page would
13-
become excessively slow.
14-
15-
Hence, you can visit the aforementioned repository and:
16-
17-
* download and run them locally (preferred option).
18-
* or you can launch Binder and try them online (note that Binder is really
19-
slow).
20-
21-
If you are in a hurry, the following quickstart should provide a good
22-
starting point. However, ``iplot``-related tutorials are only
23-
available at the aforementioned repository.
24-
257
.. toctree::
268
:maxdepth: 1
279
:caption: Quickstart
@@ -32,4 +14,3 @@ available at the aforementioned repository.
3214
tut-3.rst
3315
tut-4.rst
3416
tut-5.rst
35-
tut-6.rst

0 commit comments

Comments
 (0)