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

Skip to content

Commit 77490a2

Browse files
committed
applied Goekhan's installation FAQ patch
svn path=/trunk/matplotlib/; revision=7204
1 parent ad98851 commit 77490a2

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

doc/faq/installing_faq.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ and build and install as usual with::
106106
> cd matplotlib
107107
> python setup.py install
108108

109+
If you want to be able to follow the development branch as it changes just replace
110+
the last step with (Make sure you have **setuptools** installed)::
111+
112+
> python setupegg.py develop
113+
114+
This creates links in the right places and installs the command line script to the appropriate places.
115+
Then, if you want to update your **matplotlib** at any time, just do::
116+
117+
> svn update
118+
119+
When you run `svn update`, if the output shows that only Python files have been updated, you are all set.
120+
If C files have changed, you need to run the `python setupegg develop` command again to compile them.
121+
109122
There is more information on :ref:`using Subversion <using-svn>` in
110123
the developer docs.
111124

lib/matplotlib/cbook.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ def __init__(self, **kwds):
254254
self.__dict__.update(kwds)
255255

256256

257+
def __repr__(self):
258+
keys = self.__dict__.keys()
259+
return 'Bunch(%s)'%', '.join(['%s=%s'%(k,self.__dict__[k]) for k in keys])
260+
257261
def unique(x):
258262
'Return a list of unique elements of *x*'
259263
return dict([ (val, 1) for val in x]).keys()

0 commit comments

Comments
 (0)