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

Skip to content

Commit 2b6ac8a

Browse files
committed
docs: remove some svn references, increment version
1 parent 0679e93 commit 2b6ac8a

2 files changed

Lines changed: 17 additions & 28 deletions

File tree

doc/_templates/indexsidebar.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ <h3>News</h3>
55
to support matplotlib development.</p>
66

77

8-
<p>matplotlib 1.0.1 is available for <a href="https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/">download</a>. See <a href="{{ pathto('users/whats_new') }}">what's new</a> and tips on <a href="{{
8+
<p>Matplotlib 1.1.0 is available for <a href="https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/">download</a>. See <a href="{{ pathto('users/whats_new') }}">what's new</a> and tips on <a href="{{
99
pathto('users/installing') }}">installing</a>
1010
</p>
1111

@@ -16,7 +16,7 @@ <h3>News</h3>
1616
at <a href="http://www.amazon.com/Matplotlib-Python-Developers-Sandro-Tosi/dp/1847197906">amazon</a>.</p>
1717

1818
<p>Build websites like matplotlib's,
19-
with <a href="http://sphinx.pocoo.org/">sphinx</a> and extensions for
19+
with <a href="http://sphinx.pocoo.org/">Sphinx</a> and extensions for
2020
mpl plots, math, inheritance diagrams -- try
2121
the <a href="http://matplotlib.sf.net/sampledoc">sampledoc</a>
2222
tutorial.
@@ -38,7 +38,7 @@ <h3>Videos</h3>
3838

3939
<h3>Toolkits</h3>
4040

41-
<p>There are several matplotlib addon <a href="{{
41+
<p>There are several matplotlib add-on <a href="{{
4242
pathto('users/toolkits') }}">toolkits</a>, including the projection
4343
and mapping toolkit
4444
<a href="http://matplotlib.sf.net/basemap/doc/html">basemap</a>, 3d plotting with <a href="{{
@@ -59,8 +59,8 @@ <h3>Need help?</h3>
5959
examples which exercise almost every corner of matplotlib.</p>
6060

6161
<p>You can file bugs, patches and feature requests on the
62-
sourceforge
63-
<a href="http://sourceforge.net/tracker2/?group_id=80706">tracker</a>,
62+
github
63+
<a href="https://github.com/matplotlib/matplotlib/issues?sort=created&direction=desc&state=open">tracker</a>,
6464
but it is a good idea to ping us on the mailing list too.</p>
6565

6666
<p>For details on what's new, see the detailed <a href="{{

doc/devel/coding_guide.rst

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ in mind.
2323
* Can you pass :file:`examples/tests/backend_driver.py`? This is our
2424
poor man's unit test.
2525

26-
* Can you add a test to :file:`unit/nose_tests.py` to test your changes?
26+
* Can you add a test to :file:`lib/matplotlib/tests` to test your changes?
2727

2828
* If you have altered extension code, do you pass
2929
:file:`unit/memleak_hawaii3.py`?
@@ -33,7 +33,7 @@ in mind.
3333
:file:`MANIFEST.in`. This file determines what goes into the source
3434
distribution of the mpl build.
3535

36-
* Keep the maintenance branches and trunk in sync where it makes sense.
36+
* Keep the maintenance branches and master in sync where it makes sense.
3737

3838
Style guide
3939
===========
@@ -101,8 +101,8 @@ To detect and fix these and other whitespace errors (see below),
101101
use `reindent.py
102102
<http://svn.python.org/projects/doctools/trunk/utils/reindent.py>`_ as
103103
a command-line script. Unless you are sure your editor always
104-
does the right thing, please use reindent.py before checking changes into
105-
svn.
104+
does the right thing, please use reindent.py before committing your
105+
changes in git.
106106

107107
Keep docstrings_ uniformly indented as in the example below, with
108108
nothing to the left of the triple quotes. The
@@ -116,7 +116,7 @@ It may be preferable to use a temporary variable to replace a single
116116
long line with two shorter and more readable lines.
117117

118118
Please do not commit lines with trailing white space, as it causes
119-
noise in svn diffs. Tell your editor to strip whitespace from line
119+
noise in git diffs. Tell your editor to strip whitespace from line
120120
ends when saving a file. If you are an emacs user, the following in
121121
your ``.emacs`` will cause emacs to strip trailing white space upon
122122
saving for python, C and C++:
@@ -324,43 +324,32 @@ Writing examples
324324
================
325325

326326
We have hundreds of examples in subdirectories of
327-
file:`matplotlib/examples` in the trunk, and these are automatically
328-
generated when the website it built to show up both in the `examples
327+
file:`matplotlib/examples`, and these are automatically
328+
generated when the website is built to show up both in the `examples
329329
<http://matplotlib.sourceforge.net/examples/index.html>`_ and `gallery
330330
<http://matplotlib.sourceforge.net/gallery.html>`_ sections of the
331331
website. Many people find these examples from the website, and do not
332332
have ready access to the file:`examples` directory in which they
333333
reside. Thus any example data that is required for the example should
334-
be provided through the sample_data svn directory, which can then be
335-
accessed using :func:`matplotlib.cbook.get_sample_data`. First get a
336-
copy of the repository and svn add your data::
337-
338-
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/sample_data
339-
cp ~/path/to/mydata.dat sample_data/
340-
cd sample_data
341-
svn add mydata.dat
342-
svn commit -m 'added my data'
343-
344-
and then in your example code you can load it into a file handle with::
334+
be added to the `sample_data
335+
<https://github.com/matplotlib/sample_data>`_ git repository.
336+
Then in your example code you can load it into a file handle with::
345337

346338
import matplotlib.cbook as cbook
347339
fh = cbook.get_sample_data('mydata.dat')
348340

349-
The file will be fetched from the svn repo using urllib and updated
341+
The file will be fetched from the git repo using urllib and updated
350342
when the revision number changes.
351343

352344

353-
If you prefer just to get the full path to the file instead of an file
345+
If you prefer just to get the full path to the file instead of a file
354346
object::
355347

356348
import matplotlib.cbook as cbook
357349
datafile = cbook.get_sample_data('mydata.dat', asfileobj=False)
358350
print 'datafile', datafile
359351

360352

361-
362-
363-
364353
Testing
365354
=======
366355

0 commit comments

Comments
 (0)