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

Skip to content

Commit 962053b

Browse files
committed
Merge pull request #1549 from dmcdougall/feature_citation
Add citation page to website
2 parents 295f9fa + d4f1d54 commit 962053b

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

doc/_templates/citing.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{% extends "layout.html" %}
2+
{% set title = "Citing matplotlib" %}
3+
{% block body %}
4+
5+
<h1>Citing matplotlib</h1>
6+
<p>
7+
If matplotlib contributes to a project that leads to a scientific publication,
8+
please acknowledge this fact by citing the project. You can use this
9+
BibTeX entry:
10+
</p>
11+
<pre>
12+
@Article{Hunter:2007,
13+
Author = {Hunter, J. D.},
14+
Title = {Matplotlib: A 2D graphics environment},
15+
Journal = {Computing In Science \& Engineering},
16+
Volume = {9},
17+
Number = {3},
18+
Pages = {90--95},
19+
abstract = {Matplotlib is a 2D graphics package used for Python
20+
for application development, interactive scripting, and
21+
publication-quality image generation across user
22+
interfaces and operating systems.},
23+
publisher = {IEEE COMPUTER SOC},
24+
year = 2007
25+
}
26+
</pre>
27+
{% endblock %}

doc/_templates/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ <h1>Toolkits</h1>
171171
pathto('mpl_toolkits/axes_grid/index') }}">axes_grid</a> and more.
172172
</p>
173173

174+
<h1>Citing matplotlib</h1>
175+
176+
<p>
177+
matplotlib is the brainchild of John Hunter (1968-2012), who has put an
178+
inordinate amount of effort into producing a piece of software utilized by
179+
thousands of scientists worldwide.
180+
181+
If matplotlib contributes to a project that leads to a scientific publication,
182+
please acknowledge this fact by citing the project. You can use this
183+
<a href="{{ pathto('citing') }}">ready-made citation entry</a>.
184+
</p>
185+
174186
<h1>Open source</h1>
175187

176188
<p>Please

doc/_templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<li><a href="{{ pathto('search') }}">search</a>|&nbsp;</li>
77
<li><a href="{{ pathto('examples/index') }}">examples</a>|&nbsp;</li>
88
<li><a href="{{ pathto('gallery') }}">gallery</a>|&nbsp;</li>
9+
<li><a href="{{ pathto('citing') }}">citation</a>|&nbsp;</li>
910
<li><a href="{{ pathto('contents') }}">docs</a> &raquo;</li>
1011
{% endblock %}
1112

0 commit comments

Comments
 (0)