From: <jd...@us...> - 2008-10-22 01:24:30
|
Revision: 6290 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6290&view=rev Author: jdh2358 Date: 2008-10-22 01:24:18 +0000 (Wed, 22 Oct 2008) Log Message: ----------- fixed install doc bug 2184682 Modified Paths: -------------- trunk/matplotlib/doc/examples/gen_rst.py trunk/matplotlib/doc/faq/howto_faq.rst trunk/matplotlib/doc/users/installing.rst trunk/matplotlib/examples/pylab_examples/date_demo1.py trunk/matplotlib/examples/pylab_examples/date_demo2.py Modified: trunk/matplotlib/doc/examples/gen_rst.py =================================================================== --- trunk/matplotlib/doc/examples/gen_rst.py 2008-10-21 17:58:18 UTC (rev 6289) +++ trunk/matplotlib/doc/examples/gen_rst.py 2008-10-22 01:24:18 UTC (rev 6290) @@ -150,7 +150,7 @@ contents = '\n'.join([' %s'%row.rstrip() for row in contents.split('\n')]) fh.write(contents) - fh.write('\n\nKeywords: codex (see :ref:`how-to-search-examples`), python, matplotlib, pylab') + fh.write('\n\nKeywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)') fh.close() fhsubdirIndex.close() Modified: trunk/matplotlib/doc/faq/howto_faq.rst =================================================================== --- trunk/matplotlib/doc/faq/howto_faq.rst 2008-10-21 17:58:18 UTC (rev 6289) +++ trunk/matplotlib/doc/faq/howto_faq.rst 2008-10-22 01:24:18 UTC (rev 6290) @@ -431,7 +431,7 @@ .. _howto-show -Use :func:`~matplotlib.pyplot.show` +Use :func:`~matplotlib.pyplot.show` ------------------------------------------ The user interface backends need to start the GUI mainloop, and this @@ -655,13 +655,13 @@ The nearly 300 code :ref:`examples-index` included with the matplotlib source distribution are full-text searchable from the :ref:`search` page, but sometimes when you search, you get a lot of results from the -:ref:`api-index` or other documentation that you may not be interested in if -you just want to find a complete, free-standing, working piece of -example code. To facilitate example searches, we have tagged every -page with the keyword ``codex`` for *code example* which shouldn't -appear anywhere else on this site except in the FAQ and in every -example. So if you want to search for an example that uses an ellipse, -:ref:`search` for ``codex ellipse``. +:ref:`api-index` or other documentation that you may not be interested +in if you just want to find a complete, free-standing, working piece +of example code. To facilitate example searches, we have tagged every +code example page with the keyword ``codex`` for *code example* which +shouldn't appear anywhere else on this site except in the FAQ and in +every example. So if you want to search for an example that uses an +ellipse, :ref:`search` for ``codex ellipse``. Modified: trunk/matplotlib/doc/users/installing.rst =================================================================== --- trunk/matplotlib/doc/users/installing.rst 2008-10-21 17:58:18 UTC (rev 6289) +++ trunk/matplotlib/doc/users/installing.rst 2008-10-22 01:24:18 UTC (rev 6290) @@ -39,7 +39,7 @@ progress:: >>> import numpy - >>> print numpy.__versions__ + >>> print numpy.__version__ matplotlib requires numpy version 1.1 or later. Although it is not a requirement to use matplotlib, we strongly encourage you to install Modified: trunk/matplotlib/examples/pylab_examples/date_demo1.py =================================================================== --- trunk/matplotlib/examples/pylab_examples/date_demo1.py 2008-10-21 17:58:18 UTC (rev 6289) +++ trunk/matplotlib/examples/pylab_examples/date_demo1.py 2008-10-22 01:24:18 UTC (rev 6290) @@ -49,4 +49,5 @@ ax.fmt_ydata = price ax.grid(True) +fig.autofmt_xdate() show() Modified: trunk/matplotlib/examples/pylab_examples/date_demo2.py =================================================================== --- trunk/matplotlib/examples/pylab_examples/date_demo2.py 2008-10-21 17:58:18 UTC (rev 6289) +++ trunk/matplotlib/examples/pylab_examples/date_demo2.py 2008-10-22 01:24:18 UTC (rev 6290) @@ -14,8 +14,11 @@ date1 = datetime.date( 2002, 1, 5 ) date2 = datetime.date( 2003, 12, 1 ) -mondays = WeekdayLocator(MONDAY) # every monday -months = MonthLocator(range(1,13), bymonthday=1) # every month +# every monday +mondays = WeekdayLocator(MONDAY) + +# every 3rd month +months = MonthLocator(range(1,13), bymonthday=1, interval=3) monthsFmt = DateFormatter("%b '%y") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |