Re: [matplotlib-devel] Refactoring the axes module

2013-06-30 Thread Damon McDougall
On Sat, Jun 29, 2013 at 4:10 PM, Benjamin Root  wrote:

> Perhaps it would be a good idea to exercise the mpl toolkits with this
> since it is more likely for them to do more esoteric things with axes.
> Don't forget Base map and possibly cartopy and pandas.
>

Thanks Ben.  I already did some playing with mplot3d, but I haven't tried
axes_grid{,1} or basemap yet.


> Cheers!
> Ben Root
> On Jun 28, 2013 5:20 PM, "Nelle Varoquaux" 
> wrote:
>
>> Hello pythonistas,
>>
>> We've just finished refactoring the axes module at the scipy sprint, and
>> before merging we would like to inform developers of the changes. The axes
>> module contained more than 9k loc, and a few classes. It used to be a
>> file.
>>
>> Now, it became a folder called "axes". This module contains several
>> private submodules:
>> - _base.py: this private module contains a new class _AxesBase, that
>> inherits from Artist. This new class contains all the methods except
>> the plotting and labelling methods. It is now 3k loc
>> - _axes.py contains the Axes class. This class inherists from _AxesBase,
>> and contains all the methods concerning plotting and labelling. It is now
>> 6k loc
>> - _subplots.py contains all the subplots directive.
>>
>> The API has not changed: only the private methods from axes are not
>> directly importable from axes anymore. All tests pass (travis shows a
>> failed test on py3k, which I am not able to reproduce on my computer). The
>> pull request can be seen here: https://github.com/matplotlib/matplotlib
>> /pull/1931
>>
>> Once this is merged, you may need to remove cleanly the previous
>> installed version of matplotlib. Indeed, installing a package replaces
>> the old files, but does not delete them. Thus, installing this new
>> submodule will not remove the axes.py file. Hence, a manual deletion of
>> this file is necessary.
>>
>> Thanks,
>> N
>>
>>
>> --
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> ___
>> Matplotlib-devel mailing list
>> Matplotlib-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>


-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Refactoring the axes module

2013-06-30 Thread Damon McDougall
On Sat, Jun 29, 2013 at 2:18 PM, Nathaniel Smith  wrote:

> pip *will* nuke old
> versions for you, and thus gives you a better chance of importing the
> code that was actually shipped.
>

Thanks Nathaniel, I didn't realise pip could snarf a local checkout.
 That's good to know.


-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Error building documentation for 1.3.0rc4

2013-06-30 Thread Sandro Tosi
Hello,
I'm preparing the Debian package for matplotlib 1.3.0rc4 but I got a
failure while building documentation, here's the extract from the
build log:

...
# build the doc
( cd doc ; MPLCONFIGDIR=. MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \
PYTHONPATH=../build/lib.linux-x86_64-2.7 ./make.py --small all )
Running Sphinx v1.1.3
Initializing GitHub plugin
loading pickled environment... not yet created
[autosummary] generating autosummary for: api/afm_api.rst,
api/animation_api.rst, api/api_changes.rst, api/artist_api.rst,
api/axes_api.rst, api/axis_api.rst, api/backend_bases_api.rst,
api/backend_gtkagg_api.rst, api/backend_pdf_api.rst,
api/backend_qt4agg_api.rst, ..., users/pyplot_tutorial.rst,
users/recipes.rst, users/screenshots.rst, users/shell.rst,
users/text_intro.rst, users/text_props.rst,
users/tight_layout_guide.rst, users/transforms_tutorial.rst,
users/usetex.rst, users/whats_new.rst

building [html]: targets for 111 source files that are out of date
updating environment: 112 added, 0 changed, 0 removed
reading sources... [  0%] api/afm_api
reading sources... [  1%] api/animation_api
reading sources... [  2%] api/api_changes
reading sources... [  3%] api/artist_api
/usr/lib/python2.7/dist-packages/numpydoc/docscrape.py:117:
UserWarning: Unknown section Accepts:
  warn("Unknown section %s" % key)

Exception occurred:
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py",
line 195, in run
results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 237, in run
context, state, transitions)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line
458, in check_line
return method(match, context, next_state)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py",
line 2283, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py",
line 2295, in explicit_construct
return method(self, expmatch)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py",
line 2036, in directive
directive_class, match, type_name, option_presets)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py",
line 2087, in run_directive
result = directive_instance.run()
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/__init__.py",
line 382, in run
self.state, self.state_machine)
  File 
"/home/morph/deb/build-area/matplotlib-1.3.0~rc4/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py",
line 228, in plot_directive
return run(arguments, content, options, state_machine, state, lineno)
  File 
"/home/morph/deb/build-area/matplotlib-1.3.0~rc4/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py",
line 670, in run
with open(source_file_name, 'r') as fd:
IOError: [Errno 2] No such file or directory:
u'/home/morph/deb/build-area/matplotlib-1.3.0~rc4/doc/mpl_examples/pylab_examples/fancyarrow_demo.py'
The full traceback has been saved in /tmp/sphinx-err-BQFK5w.log, if
you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at
,
or report them in the tracker at
. Thanks!
Building HTML failed.
..

and attached is the mentioned file.

Please let me know if you want me to test something to have that fixed.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


sphinx-err-BQFK5w.log
Description: Binary data
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel