File tree Expand file tree Collapse file tree 3 files changed +49
-30
lines changed Expand file tree Collapse file tree 3 files changed +49
-30
lines changed Original file line number Diff line number Diff line change
1
+ # mpl-probscale
2
+ Real probability scales for matplotlib
3
+
4
+ [ ![ Build Status] ( https://travis-ci.org/phobson/mpl-probscale.svg )] ( https://travis-ci.org/phobson/mpl-probscale )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/phobson/mpl-probscale/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/phobson/mpl-probscale?branch=master )
6
+
7
+ Simply importing ` probscale ` let's you use probability scales in your matplotlib figures:
8
+
9
+ ``` python
10
+ import matplotlib.pyplot as plt
11
+ import probscale
12
+
13
+ plt.style.use(' ggplot' )
14
+ fig, ax = plt.subplots(figsize = (8 , 4 ))
15
+ ax.set_ylim(1e-2 , 1e2 )
16
+ ax.set_yscale(' log' )
17
+
18
+ ax.set_xlim(0.5 , 99.5 )
19
+ ax.set_xscale(' prob' )
20
+ ```
21
+
22
+ ![ Alt text] ( docs/img/example.png " Example axes ")
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
contain the root `toctree` directive.
5
5
6
6
7
- .. include :: ../README.rst
7
+ mpl-probscale: Real probability scales for matplotlib
8
+ =====================================================
8
9
10
+ .. image :: https://travis-ci.org/phobson/watershed.svg?branch=master
11
+ :target: https://travis-ci.org/phobson/watershed
12
+
13
+ .. image :: https://coveralls.io/repos/phobson/mpl-probscale/badge.svg?branch=master&service=github
14
+ :target: https://coveralls.io/github/phobson/mpl-probscale?branch=master
15
+
16
+ https://github.com/phobson/mpl-probscale
17
+
18
+ Simply importing ``probscale `` let's you use probability scales in your matplotlib figures:
19
+
20
+ .. code-block :: python
21
+
22
+ import matplotlib.pyplot as plt
23
+ import probscale
24
+
25
+ plt.style.use(' ggplot' )
26
+ fig, ax = plt.subplots(figsize = (8 , 4 ))
27
+ ax.set_ylim(1e-2 , 1e2 )
28
+ ax.set_yscale(' log' )
29
+
30
+ ax.set_xlim(0.5 , 99.5 )
31
+ ax.set_xscale(' prob' )
32
+
33
+
34
+ .. image :: /img/example.png
9
35
10
36
11
37
API References
You can’t perform that action at this time.
0 commit comments