[matplotlib-devel] Spelling errors in the documentation

2010-02-16 Thread Philipp Bender
Hi,

because Wayne Watson complained in -users repeatedly about spelling errors 
without fixing or really pointing us to them I tried to find some in the 
chapter he mentioned and fixed them. Because I am not a native speaker I hope 
I did not "correct" already correct things.

I attached the diff file.

Please watch it _only_ if you have the time left, it's *really* no big thing.

Cheers
Philipp Bender

PS: Sphinx is great, good decision!
Index: doc/users/navigation_toolbar.rst
===
--- doc/users/navigation_toolbar.rst	(Revision 8133)
+++ doc/users/navigation_toolbar.rst	(Arbeitskopie)
@@ -31,7 +31,7 @@
 The ``Pan/Zoom`` button
 This button has two modes: pan and zoom.  Click the toolbar button
 to activate panning and zooming, then put your mouse somewhere
-over an axes.  Press the left mouse button and hold it to pan the
+over an axis.  Press the left mouse button and hold it to pan the
 figure, dragging it to a new position.  When you release it, the
 data under the point where you pressed will be moved to the point
 where you released.  If you press 'x' or 'y' while panning the
@@ -39,11 +39,11 @@
 the right mouse button to zoom, dragging it to a new position.
 The x axis will be zoomed in proportionate to the rightward
 movement and zoomed out proportionate to the leftward movement.
-Ditto for the yaxis and up/down motions.  The point under your
+Ditto for the y axis and up/down motions.  The point under your
 mouse when you begin the zoom remains stationary, allowing you to
 zoom to an arbitrary point in the figure.  You can use the
 modifier keys 'x', 'y' or 'CONTROL' to constrain the zoom to the x
-axes, the y axes, or aspect ratio preserve, respectively.
+axis, the y axis, or aspect ratio preserve, respectively.
 
 With polar plots, the pan and zoom functionality behaves
 differently.  The radius axis labels can be dragged using the left
@@ -54,9 +54,9 @@
 
 The ``Zoom-to-rectangle`` button
 Click this toolbar button to activate this mode.  Put your mouse
-somewhere over and axes and press the left mouse button.  Drag the
-mouse while holding the button to a new location and release.  The
-axes view limits will be zoomed to the rectangle you have defined.
+somewhere over an axis and press the left mouse button.  Drag the
+mouse while holding the button to a new location and release it.  The
+axis' view limits will be zoomed to the rectangle you have defined.
 There is also an experimental 'zoom out to rectangle' in this mode
 with the right button, which will place your entire axes in the
 region defined by the zoom out rectangle.
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Pgfplots (TikZ) backend: implementation strategy

2010-02-16 Thread Nico Schlömer
Well, there is something basic now at

http://github.com/nicki/matplotlib2tikz

It can handle lines plots, images, and color bars; adding more stuff
should not be hard, and in case a few people are interested and
willing to contribute, the script will progress rather quickly I
reckon.

I myself am just picking up Python, so a quick look of the one or the
other pro would certainly be appreciated.

Cheers,
Nico



On Wed, Jan 13, 2010 at 2:24 PM, Michael Droettboom  wrote:
> Andrew Straw wrote:
>>
>> Nico Schlömer wrote:
>>
>>>
>>> Hey, and is there any sort of matplotlib market place where I could
>>> put the file for general bashing/downloading once it can do more than
>>> a sin-plot?
>>>
>>
>> Well, github is my suggestion. If it's a patchset of the MPL source, then
>> fork the MPL repository at http://github.com/astraw/matplotlib . If it's a
>> standalone thing, just create a new project. Github makes this kind of
>> sharing easy at all levels from casual one-off events to close
>> collaboration.
>>
>
> We can also link to it from the matplotlib website once you have a location
> established, for example from here:
>
>  http://matplotlib.sourceforge.net/users/toolkits.html
>
> Mike
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
>

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Spelling errors in the documentation

2010-02-16 Thread John Hunter
On Tue, Feb 16, 2010 at 3:51 AM, Philipp Bender  wrote:
> Hi,
>
> because Wayne Watson complained in -users repeatedly about spelling errors
> without fixing or really pointing us to them I tried to find some in the
> chapter he mentioned and fixed them. Because I am not a native speaker I hope
> I did not "correct" already correct things.
>
> I attached the diff file.
>
> Please watch it _only_ if you have the time left, it's *really* no big thing.

Thanks Phillip for taking the time to convert this doc bug report from
the users list into a proper patch.  Many of the
usages of axes that Wayne flagged as incorrect in his original report
are actually correct, so some of the patch is not correct but I
understand you were just converting his report into a usable patch.
But there were a couple of fixes in the patch that were worth applying
so I made these in svn HEAD.

> PS: Sphinx is great, good decision!

Yes, it's been great.  We've developed a number of extensions, notably
the ipython and plot directives, that make writing documentation very
natural and easy, and overall I've been very happy with sphinx.

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Subclasses Axes

2010-02-16 Thread Jae-Joon Lee
On Sat, Feb 13, 2010 at 2:23 PM, T J  wrote:
> Subclasses of Axes, such as PolarAxes, inherit many functions which
> make implicit assumptions of rectilinear coordinates.  From a design
> perspective, it seems like most of these functions should not belong
> to the parent class, and that, perhaps, there should exist a
> RectilinearAxes(Axes) class.  Essentially, Axes should contain only
> the methods that are generic enough for every type of axis.  If I were
> to create my own subclass of Axes, I'll either have to tell people to
> not use some of the methods or I'll have to re-implement them all
> (which is definitely not going to happen quickly).
>
> Does this refactoring seem reasonable?

In general, I think this is reasonable thing to do.
However, I'm afraid that this refactoring will involve significant
efforts as the current Axes implementation implicitly assumes
rectlinear coordinates in so many places.
So, I'm not sure if any of the developers is willing to dive in, but
any contribution will be welcomed.

Regards,

-JJ


>
> --
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel