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

Skip to content

Commit ea894b3

Browse files
committed
moved the screenshots link to the center
svn path=/trunk/matplotlib/; revision=6248
1 parent e45ce17 commit ea894b3

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

doc/_templates/index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,18 @@ <h1>Welcome</h1>
1515

1616
<p>matplotlib tries to make easy things easy and hard things possible.
1717
You can generate plots, histograms, power spectra, bar charts,
18-
errorcharts, scatterplots, etc, with just a few lines of code. For
19-
example, to generate 10,000 gaussian random numbers and make a
20-
histogram plot binning the data into 100 bins, you simply need to type</p>
18+
errorcharts, scatterplots, etc, with just a few lines of code.
19+
For a sampling, see the <a href="{{ pathto('users/screenshots') }}">screenshots</a> and
20+
<a href="examples/index.html">examples</a></p>
21+
22+
<p align="center"><a href="{{ pathto('users/screenshots') }}"><img align="middle"
23+
src="{{ pathto('_static/logo_sidebar_horiz.png', 1) }}" border="0"
24+
alt="screenshots"/></a></p>
25+
26+
27+
For example, to generate 10,000 gaussian random numbers and make a
28+
histogram plot binning the data into 100 bins, you simply need to
29+
type</p>
2130

2231
<pre>
2332
>>> from pylab import randn, hist
@@ -26,9 +35,8 @@ <h1>Welcome</h1>
2635

2736
<p>For the power user, you have full control of line styles, font
2837
properties, axes properties, etc, via an object oriented interface
29-
or via a handle graphics interface familiar to Matlab&reg; users.</p>
30-
31-
<p>The plotting functions in the <a href="api/pyplot_api.html">pyplot</a>
38+
or via a handle graphics interface familiar to Matlab&reg; users.
39+
The plotting functions in the <a href="api/pyplot_api.html">pyplot</a>
3240
interface have a high degree of Matlab&reg; compatibility.</p>
3341

3442
<h3>Plotting commands</h3>

doc/_templates/indexsidebar.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ <h3>Need help?</h3>
2828
<a href="http://sourceforge.net/tracker2/?group_id=80706">tracker</a>,
2929
but it is a good idea to ping us on the mailing list too.</p>
3030

31-
<h3>Screenshots</h3>
32-
33-
<p><a href="{{ pathto('users/screenshots') }}"><img align="middle"
34-
src="{{ pathto('_static/logo_sidebar.png', 1) }}" border="0"
35-
alt="screenshots"/></a></p>
36-
37-
<p><a href="{{ pathto('users/screenshots') }}">screenshots</a> and
38-
<a href="examples/index.html">examples</a></p>
3931

4032
<h3>Other stuff</h3>
4133

doc/api/axes_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ matplotlib axes
1010
:members:
1111
:undoc-members:
1212
:show-inheritance:
13+

doc/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def check_build():
1616

1717
def sf():
1818
'push a copy to the sf site'
19-
os.system('cd build/html; rsync -avz . jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/ -essh')
19+
os.system('cd build/html; rsync -avz . jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/ -essh --cvs-exclude')
2020
# we are now doing this in the doc/examples build
2121
#os.system('cd ~/mpl/examples; svn-clean; cd ..; rsync -avz examples jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/ -essh --cvs-exclude --delete')
2222

0 commit comments

Comments
 (0)