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

Skip to content

Commit f4a0194

Browse files
committed
point to the right url for the rc file
svn path=/trunk/matplotlib/; revision=6445
1 parent 8a6c5b0 commit f4a0194

7 files changed

Lines changed: 28 additions & 18 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
2008-11-24 Fix crash in log ticking. - MGD
22

3-
2008-11-20 Added some static helper methods
4-
BrokenHBarCollection.span_masked and
5-
PolyCollection.fill_between_where for visualizing logical
6-
regions. See examples/api/fill_where_demo.py - JDH
3+
2008-11-20 Added static helper method BrokenHBarCollection.span_where
4+
and Axes/pyplot method fill_between. See
5+
examples/pylab/fill_between.py - JDH
76

87
2008-11-12 Add x_isdata and y_isdata attributes to Artist instances,
98
and use them to determine whether either or both

doc/_templates/gallery.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ <h3>Click on any image to see full size image and source code</h3>
4949

5050
<a href="examples/api/scatter_piecharts.html"><img src="_static/plot_directive/mpl_examples/api/thumbnails/scatter_piecharts.png" border="0" alt="scatter_piecharts"/></a>
5151

52+
<a href="examples/api/span_regions.html"><img src="_static/plot_directive/mpl_examples/api/thumbnails/span_regions.png" border="0" alt="span_regions"/></a>
53+
5254
<a href="examples/api/two_scales.html"><img src="_static/plot_directive/mpl_examples/api/thumbnails/two_scales.png" border="0" alt="two_scales"/></a>
5355

5456
<a href="examples/api/watermark_image.html"><img src="_static/plot_directive/mpl_examples/api/thumbnails/watermark_image.png" border="0" alt="watermark_image"/></a>
@@ -157,6 +159,8 @@ <h3>Click on any image to see full size image and source code</h3>
157159

158160
<a href="examples/pylab_examples/csd_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/csd_demo.png" border="0" alt="csd_demo"/></a>
159161

162+
<a href="examples/pylab_examples/custom_cmap.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/custom_cmap.png" border="0" alt="custom_cmap"/></a>
163+
160164
<a href="examples/pylab_examples/custom_figure_class.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/custom_figure_class.png" border="0" alt="custom_figure_class"/></a>
161165

162166
<a href="examples/pylab_examples/custom_ticker1.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/custom_ticker1.png" border="0" alt="custom_ticker1"/></a>
@@ -223,9 +227,9 @@ <h3>Click on any image to see full size image and source code</h3>
223227

224228
<a href="examples/pylab_examples/figure_title.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/figure_title.png" border="0" alt="figure_title"/></a>
225229

226-
<a href="examples/pylab_examples/fill_between.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/fill_between.png" border="0" alt="fill_between"/></a>
230+
<a href="examples/pylab_examples/fill_between.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/fill_between_00.png" border="0" alt="fill_between"/></a>
227231

228-
<a href="examples/pylab_examples/fill_between_posneg.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/fill_between_posneg.png" border="0" alt="fill_between_posneg"/></a>
232+
<a href="examples/pylab_examples/fill_between.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/fill_between_01.png" border="0" alt="fill_between"/></a>
229233

230234
<a href="examples/pylab_examples/fill_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/fill_demo.png" border="0" alt="fill_demo"/></a>
231235

@@ -419,6 +423,8 @@ <h3>Click on any image to see full size image and source code</h3>
419423

420424
<a href="examples/pylab_examples/psd_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/psd_demo.png" border="0" alt="psd_demo"/></a>
421425

426+
<a href="examples/pylab_examples/psd_demo2.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/psd_demo2.png" border="0" alt="psd_demo2"/></a>
427+
422428
<a href="examples/pylab_examples/pythonic_matplotlib.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/pythonic_matplotlib.png" border="0" alt="pythonic_matplotlib"/></a>
423429

424430
<a href="examples/pylab_examples/quadmesh_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/quadmesh_demo.png" border="0" alt="quadmesh_demo"/></a>

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h3>Need help?</h3>
3333

3434
<p>For details on what's new, see the detailed <a href="{{
3535
pathto('_static/CHANGELOG', 1) }}">changelog</a>. Anything that could
36-
required changes to your existing codes is logged in the <a href="{{
36+
require changes to your existing codes is logged in the <a href="{{
3737
pathto('api/api_changes.html', 1) }}">api changes</a> file.</p>
3838

3939
<h3>Other stuff</h3>

doc/make.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ def check_build():
1717
def sf():
1818
'push a copy to the sf site'
1919
shutil.copy('../CHANGELOG', 'build/html/_static/CHANGELOG')
20-
shutil.copy('../API_CHANGES', 'build/html/_static/API_CHANGES')
21-
shutil.copy('../MIGRATION.txt', 'build/html/_static/MIGRATION.txt')
22-
2320
os.system('cd build/html; rsync -avz . jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/ -essh --cvs-exclude')
2421

2522
def sfpdf():
@@ -44,6 +41,7 @@ def html():
4441
check_build()
4542
if not os.path.exists('examples/index.rst'):
4643
examples()
44+
shutil.copy('mpl_data/matplotlibrc', '_static/matplotlibrc')
4745
#figs()
4846
if os.system('sphinx-build -b html -d build/doctrees . build/html'):
4947
raise SystemExit("Building HTML failed.")

doc/users/customizing.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ There is some degree of validation when setting the values of rcParams, see
6161
.. _matplotlibrc-sample:
6262

6363
A sample matplotlibrc file
64-
--------------------------
64+
--------------------------------------------------------------------
65+
66+
.. htmlonly::
67+
68+
`(download) <../_static/matplotlibrc>`__
6569

6670
.. literalinclude:: ../mpl_data/matplotlibrc

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def rc_params(fail_on_error=False):
666666
Bad key "%s" on line %d in
667667
%s.
668668
You probably need to get an updated matplotlibrc file from
669-
http://matplotlib.sf.net/matplotlibrc or from the matplotlib source
669+
http://matplotlib.sf.net/_static/matplotlibrc or from the matplotlib source
670670
distribution""" % (key, cnt, fname)
671671

672672
if ret['datapath'] is None:

matplotlibrc.template

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010
# (win32 systems).
1111
#
1212
# This file is best viewed in a editor which supports python mode
13-
# syntax highlighting # Blank lines, or lines starting with a comment
13+
# syntax highlighting. Blank lines, or lines starting with a comment
1414
# symbol, are ignored, as are trailing comments. Other lines must
15-
# have the format # key : val # optional comment # Colors: for the
16-
# color values below, you can either use - a matplotlib color string,
17-
# such as r, k, or b - an rgb tuple, such as (1.0, 0.5, 0.0) - a hex
18-
# string, such as ff00ff or #ff00ff - a scalar grayscale intensity
19-
# such as 0.75 - a legal html color name, eg red, blue, darkslategray
15+
# have the format
16+
# key : val # optional comment
17+
#
18+
# Colors: for the color values below, you can either use - a
19+
# matplotlib color string, such as r, k, or b - an rgb tuple, such as
20+
# (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00ff - a scalar
21+
# grayscale intensity such as 0.75 - a legal html color name, eg red,
22+
# blue, darkslategray
2023

2124
#### CONFIGURATION BEGINS HERE
2225

0 commit comments

Comments
 (0)