Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ea17e1

Browse files
committed
Merge remote-tracking branch 'matplotlib/v1.5.2-doc' into v2.x
2 parents 08e2520 + 7074991 commit 1ea17e1

5 files changed

Lines changed: 24 additions & 9 deletions

File tree

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Adrien F. Vincent <[email protected]>
12
Andrew Dawson <[email protected]> Andrew Dawson <[email protected]>
23
34
Ben Cohen <[email protected]> Ben Cohen <[email protected]>

doc/_templates/citing.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ <h1>Citing matplotlib</h1>
2121
publication-quality image generation across user
2222
interfaces and operating systems.},
2323
publisher = {IEEE COMPUTER SOC},
24+
doi = {10.1109/MCSE.2007.55},
2425
year = 2007
2526
}
2627
</pre>
2728

2829

2930
<h2>DOIs</h2>
3031
<dl>
32+
<dt>v1.5.2</dt><dd><a href="http://dx.doi.org/10.5281/zenodo.56926"><img src="https://zenodo.org/badge/doi/10.5281/zenodo.56926.svg" alt="10.5281/zenodo.56926"></a></dd>
3133
<dt>v1.5.1</dt><dd><a href="http://dx.doi.org/10.5281/zenodo.44579"><img src="https://zenodo.org/badge/doi/10.5281/zenodo.44579.svg" alt="10.5281/zenodo.44579"></a></dd>
3234
<dt>v1.5.0</dt><dd><a href="http://dx.doi.org/10.5281/zenodo.32914"><img src="https://zenodo.org/badge/doi/10.5281/zenodo.32914.svg" alt="10.5281/zenodo.32914"></a></dd>
3335
<dt>v1.4.3</dt><dd><a href="http://dx.doi.org/10.5281/zenodo.15423"><img src="https://zenodo.org/badge/doi/10.5281/zenodo.15423.svg" alt="10.5281/zenodo.15423"></a></dd>

doc/faq/virtualenv_faq.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ and the systemwide install use the same python version.
6262
OSX
6363
===
6464

65+
Short version
66+
-------------
67+
68+
If you are on Python 3, use ``venv`` instead of ``virtualenv``::
69+
70+
python -m venv my-virtualenv
71+
source my-virtualenv/bin/activate
72+
73+
Otherwise you will need one of the workarounds below.
74+
75+
Long version
76+
------------
77+
6578
On OSX, two different types of Python Builds exist: a regular build and a
6679
framework build. In order to interact correctly with OSX through some
6780
GUI frameworks you need a framework build of Python.
@@ -80,7 +93,7 @@ The issue has been reported on the virtualenv bug tracker `here
8093
Until this is fixed, one of the following workarounds must be used:
8194

8295
``PYTHONHOME`` Script
83-
---------------------
96+
^^^^^^^^^^^^^^^^^^^^^
8497

8598
The best known workaround,
8699
borrowed from the `WX wiki
@@ -114,7 +127,7 @@ framework build. To run an interactive ``IPython`` session with the framework
114127
build within the virtual environment you can do ``frameworkpython -m IPython``
115128

116129
``PYTHONHOME`` Function
117-
-----------------------
130+
^^^^^^^^^^^^^^^^^^^^^^^
118131

119132
Alternatively you can define a function in your ``.bashrc`` using
120133

@@ -132,7 +145,7 @@ This function can then be used in all of your virtualenvs without having to
132145
fix every single one of them.
133146

134147
PythonW Compiler
135-
----------------
148+
^^^^^^^^^^^^^^^^
136149

137150
In addition
138151
`virtualenv-pythonw-osx <https://github.com/gldnspud/virtualenv-pythonw-osx>`_

examples/pylab_examples/tex_unicode_demo.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
plt.plot(t, s)
2020

2121
plt.xlabel(r'\textbf{time (s)}')
22-
plt.ylabel(r'\textit{Velocity (\u00B0/sec)}', fontsize=16)
23-
plt.title(r"\TeX\ is Number \
24-
$\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
25-
fontsize=16, color='r')
22+
plt.ylabel('\\textit{Velocity (\u00B0/sec)}', fontsize=16)
23+
plt.title(r'\TeX\ is Number $\displaystyle\sum_{n=1}^\infty'
24+
r'\frac{-e^{i\pi}}{2^n}$!', fontsize=16, color='r')
2625
plt.grid(True)
2726
plt.show()

examples/style_sheets/plot_ggplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
77
.. [1] http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/
88
9-
.. _ggplot: http://had.co.nz/ggplot/
10-
.. _R: http://www.r-project.org/
9+
.. _ggplot: http://ggplot2.org/
10+
.. _R: https://www.r-project.org/
1111
1212
"""
1313
import numpy as np

0 commit comments

Comments
 (0)