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

Skip to content

Commit 84afc2f

Browse files
committed
added a couple of faqs
svn path=/trunk/matplotlib/; revision=5499
1 parent a60bbbc commit 84afc2f

2 files changed

Lines changed: 64 additions & 3 deletions

File tree

doc/faq/installing_faq.rst

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ How do I report a compilation problem?
1111

1212
See :ref:`reporting-problems`.
1313

14+
.. _clean-install:
15+
1416
How do I cleanly rebuild and reinstall everything?
1517
==================================================
1618

@@ -102,7 +104,7 @@ from this point to this point" and hence are scale free, and raster
102104
backends generate a pixel represenation of the line whose accuracy
103105
depends on a DPI setting.
104106

105-
Here is a summary of the matplotlib renders (there is an eponymous
107+
Here is a summary of the matplotlib renderers (there is an eponymous
106108
backed for each):
107109

108110
=============================== =====================================================================================
@@ -159,3 +161,30 @@ If you rename ``matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg`` to
159161
the disk. Many Mac OS X eggs with cruft at the end of the filename,
160162
which prevents their installation through easy_install. Renaming is
161163
all it takes to install them; still, it's annoying.
164+
165+
Windows questions
166+
=================
167+
168+
.. _windows-installers:
169+
170+
Where can I get binary installers for windows?
171+
----------------------------------------------
172+
173+
If you have already installed python, you can use one of the
174+
matplotlib binary installers for windows -- you can get these from the
175+
`sourceforge download
176+
<http://sourceforge.net/project/platformdownload.php?group_id=80706>`_
177+
site. Choose the files that match your version of python (eg
178+
``py2.5`` if you instaslled Python 2.5) and have the ``exe``
179+
extension. If you haven't already installed python, you can get the
180+
official version from the `python web site
181+
<http://python.org/download/>`_. There are also two packaged
182+
distributions of python that come preloaded with matplotlib and many
183+
other tools like ipython, numpy, scipy, vtk and user interface
184+
toolkits. These packages are quite large because they come with so
185+
much, but you get everything with a single click installer.
186+
187+
* the enthought python distribution `EPD
188+
<http://www.enthought.com/products/epd.php>`_
189+
190+
* `python (x, y) <http://www.pythonxy.com/foreword.php>`_

doc/faq/troubleshooting_faq.rst

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,21 @@ If not, please provide the following information in your e-mail to the
7777
python -c `import matplotlib; print matplotlib.__version__`
7878

7979
* where you obtained matplotlib (e.g. your Linux distribution's
80-
packages or the matplotlib Sourceforge site)
80+
packages or the matplotlib Sourceforge site, or the enthought
81+
python distribution `EPD
82+
<http://www.enthought.com/products/epd.php>`_.
8183

8284
* any customizations to your ``matplotlibrc`` file (see
8385
:ref:`customizing-matplotlib`).
8486

8587
* if the problem is reproducible, please try to provide a *minimal*,
86-
standalone Python script that demonstrates the problem
88+
standalone Python script that demonstrates the problem. This is
89+
*the* critical step. If you can't post a piece of code that we
90+
can run and reproduce your error, the chances of getting help are
91+
significantly diminished. Very often, the mere act of trying to
92+
minimize your code to the smallest bit that produces the error
93+
will help you find a bug in *your* code that is causing the
94+
problem.
8795

8896
* you can get very helpful debugging output from matlotlib by
8997
running your script with a ``verbose-helpful`` or
@@ -116,3 +124,27 @@ a bug and can not be quickly solved, you may be asked to file a bug in
116124
the tracker so the issue doesn't get lost.
117125

118126

127+
.. _svn-trouble:
128+
129+
I am having trouble with a recent svn update, what should I do?
130+
===============================================================
131+
132+
First make sure you have a clean build and install (see
133+
:ref:`clean-install`), get the latest svn update, install it and run a
134+
simple test script in debug mode::
135+
136+
rm -rf build
137+
rm -rf /path/to/site-packages/matplotlib*
138+
svn up
139+
python setup.py install > build.out
140+
python examples/pylab_examples/simple_plot.py --verbose-debug > run.out
141+
142+
and post :file:`build.out` and :file:`run.out` to the
143+
`matplotlib-devel
144+
<http://lists.sourceforge.net/mailman/listinfo/matplotlib-devel>`_
145+
mailing list (please do not post svn problems to the `users list
146+
<http://lists.sourceforge.net/mailman/listinfo/matplotlib-users>`_).
147+
148+
Of course, you will want to clearly describe your problem, what you
149+
are expecting and what you are getting, but often a clean build and
150+
install will help. See also :ref:`reporting-problems`.

0 commit comments

Comments
 (0)