Skip to content

Commit c682120

Browse files
committed
update general docs with new tutorial
1 parent 520eae7 commit c682120

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Tutorial
6161
:maxdepth: 2
6262

6363
tutorial/getting_started.rst
64+
tutorial/closer_look_at_viz.rst
6465

6566
Testing
6667
-------

docs/tutorial/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
notebooks:
22

3-
tools/nb_to_doc.py getting_started
3+
tools/nb_to_doc.py getting_started
4+
tools/nb_to_doc.py closer_look_at_viz

docs/tutorial/getting_started.ipynb

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,25 @@
88
"\n",
99
"## Installation\n",
1010
"\n",
11+
"`mpl-probscale` is developed on Python 3.5. It is also tested on Python 3.4 and even 2.7 (for the time being).\n",
12+
"\n",
1113
"### From conda\n",
12-
"I've uploaded the package to my anaconda channel.\n",
14+
"Official releases of `mpl-probscale` can be found on conda-forge:\n",
15+
"\n",
16+
"`conda install --channel=conda-forge mpl-probscale`\n",
17+
"\n",
18+
"Fairly recent builds of the development verions are available on my channel:\n",
1319
"\n",
1420
"`conda install --channel=phobson mpl-probscale`\n",
1521
"\n",
16-
"### From pip\n",
22+
"\n",
23+
"### From PyPI\n",
24+
"\n",
25+
"Official source releases are also available on PyPI\n",
1726
"`pip install probscale`\n",
1827
"\n",
1928
"### From source\n",
29+
"\n",
2030
"`mpl-probscale` is a pure python package. It should be fairly trivial to install from source on any platform. To do that, download or clone from [github](https://github.com/phobson/mpl-probscale), unzip the archive if necessary then do:\n",
2131
"\n",
2232
"```\n",

probscale/viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def probplot(data, ax=None, axtype='prob', dist=None, probax='x',
9696

9797
# compute the plotting positions and sort the data
9898
probs, datavals = plot_pos(data, **pp_kws)
99-
qntls = _minimal_norm.ppf(probs)
99+
qntls = dist.ppf(probs)
100100

101101
# determine how the probability values should be expressed
102102
if axtype == 'qq':

0 commit comments

Comments
 (0)