Revision: 5245
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5245&view=rev
Author:   jdh2358
Date:     2008-05-23 13:32:56 -0700 (Fri, 23 May 2008)

Log Message:
-----------
added customize

Modified Paths:
--------------
    trunk/matplotlib/doc/users_guide/conf.py
    trunk/matplotlib/doc/users_guide/pyplot_tutorial.txt

Added Paths:
-----------
    trunk/matplotlib/doc/users_guide/customizing.txt

Modified: trunk/matplotlib/doc/users_guide/conf.py
===================================================================
--- trunk/matplotlib/doc/users_guide/conf.py    2008-05-23 20:25:00 UTC (rev 
5244)
+++ trunk/matplotlib/doc/users_guide/conf.py    2008-05-23 20:32:56 UTC (rev 
5245)
@@ -57,7 +57,7 @@
 today_fmt = '%B %d, %Y'
 
 # List of documents that shouldn't be included in the build.
-#unused_docs = []
+unused_docs = ['figures/README.txt']
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
 #add_function_parentheses = True
@@ -88,7 +88,7 @@
 
 # The name of an image file (within the static path) to place at the top of
 # the sidebar.
-#html_logo = None
+#html_logo = 'logo.png'
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,

Added: trunk/matplotlib/doc/users_guide/customizing.txt
===================================================================
--- trunk/matplotlib/doc/users_guide/customizing.txt                            
(rev 0)
+++ trunk/matplotlib/doc/users_guide/customizing.txt    2008-05-23 20:32:56 UTC 
(rev 5245)
@@ -0,0 +1,26 @@
+Customizing matplotlib
+======================
+
+matplotlib uses an configuration file ``matplotlibrc`` which is
+located in ``matplotlib/mpl-data/matplotlibrc``.  Every time you
+install matplotlib, this file will be overwritten, so if you want your
+customizations to be saved, please move this file to your ``HOME/.matplotlib``
+directory.
+
+You can control the defaults of almost every property in matplotlib:
+figure size and dpi, line width, color and style, axes, axis and grid
+properties, text and font properties and so on.
+
+You can also dynamically change the defaults in a python script or
+interactively from the python shell using the :func:`matplotlib.rc`
+command.  For example to change the default line properties, you could
+do::
+
+    import matplotlib
+    matplotlib.rc('lines', linewidth=2, color='r')
+
+
+A sample matplotlibrc file
+--------------------------
+
+.. literalinclude:: ../../lib/matplotlib/mpl-data/matplotlibrc
\ No newline at end of file

Modified: trunk/matplotlib/doc/users_guide/pyplot_tutorial.txt
===================================================================
--- trunk/matplotlib/doc/users_guide/pyplot_tutorial.txt        2008-05-23 
20:25:00 UTC (rev 5244)
+++ trunk/matplotlib/doc/users_guide/pyplot_tutorial.txt        2008-05-23 
20:32:56 UTC (rev 5245)
@@ -95,7 +95,7 @@
       plt.setp(lines, 'color', 'r', 'linewidth', 2.0)
 
 
-Here are the available :class:`matplotlib.lines.Line2D` properties.
+Here are the available :class:`~matplotlib.lines.Line2D` properties.
 
 ======================  ==================================================
 Property                Value Type


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to