[matplotlib-devel] docs dir reorg
I just reorganized the docs directory, now called "docs". I thought it would be easier to get a totally clean start, and the project is early enough that I don't think losing version history is too important. Basically, once we learned we needed to build everything at once to get the links working, all of the stuff Darren initially set up and then changed on my request was basically right so I reverted to a similar organization. Actually, I checked out the python docs and tried to follow their model as closely as possible, including the use of the rst extension. Since ipython, numpy and scipy are moving or have moved to a sphinx documentation system, the more we all follow the same conventions the easier it will be to mix and match documents, build books out of them, etc... Every subdoc project has a index.rst file and several other rst files (since python uses rst I figures we should too). The subdoc dirs are "users", "devel", and "api". I created some symlinks in the top level "docs" directory in case we need to refer to mpl-data or the examples subdir in the rst documents w/o having to have crazy relative paths that may change. This is explained in the documenting_mpl.rst file. Let me know if you have any problems... JDH - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] log in hist() and toggling
Hi, I very much miss the 'l' shortcut for toggling log/lin y-scale in the trunk! I use it a lot. I suggest restoring it with something like if self.get_yscale() is ("log" or "linear"): self.toggle_log_lineary() else: pass I think most of time most people use log or linear scales. The new hist() function looks really good, I especially welcome the "step" mode. A couple of comments: The latest svn incarnation doesn't allow for log scale in step-mode (unless you set it manually). Also, I think the step-mode should have fill=False as default, otherwise it does not look that much different from bar-mode. The nice thing about step histograms is that you can put several of them in the same plot while keeping it intelligible! Cheers, /Olle - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] remove xpm flag in _load_bitmap function of backend_wx.py and alternate tool bar icons
On May 23, 2008, at 7:05 PM, John Hunter wrote: Could I ask you to submit a svn diff of the maintenance branch -- this will be easier for me to apply. simoply make your changes in the branch and then do svn diff > my.patch and send that. I think this is what you're asking for, but I may have done the diff from the wrong directory. backend_wx.patch Description: Binary data I think your icons look nice, but I was surprised that they were grayscale. Is this a minimalist aesthetic? Yeah, this is what I meant by OS X aesthetic. Many of the OS X icons are grayscale so this matches better with the look of my other apps. It would probably seem out of place on a linux or windows box. One last thing: is there some sort of tutorial for beginners who *may* want to contribute. Like a "Getting Started" page for developers. I have tons of questions, but I don't want to spam this list. For example: I checked out the maintenance version of MPL but the build and install set everything up in a new/separate directory. This means my subversion working copy is separate from the installed copy (what actually gets imported). Thanks, -Tony- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] remove xpm flag in _load_bitmap function of backend_wx.py and alternate tool bar icons
On Sat, May 24, 2008 at 6:29 PM, Tony Yu <[EMAIL PROTECTED]> wrote: > I think this is what you're asking for, but I may have done the diff from > the wrong directory. I think the last one was a plain-ol-diff and this one is a svn diff so it is better. I have applied it and committed it. FYI, I normally do the svn diff at the same level that the setup.py resides in, but it is easy enough to correct for, > One last thing: is there some sort of tutorial for beginners who *may* want > to contribute. Like a "Getting Started" page for developers. I have tons of > questions, but I don't want to spam this list. For example: I checked out > the maintenance version of MPL but the build and install set everything up > in a new/separate directory. This means my subversion working copy is > separate from the installed copy (what actually gets imported). In the svn trunk, there are a few documents in docs/devel (you need a fesh checkout to find it) that contain coding style guidelines, but they are rather incomplete. We are in the process of a documentation push, so we hope to add to these. Your questions are welcome, just batch them into just one or a few emails rather than a ton of individual ones. Perhaps one of your first projects can to write the "getting_started.rst" for the developer's guide as you learn the ropes. We can all pitch in with answers to your questions... In my experience, one of the best time to write introductory documentation is when you are learning something he first time, because the more seasoned developers have trouble approaching the subject from the perspective of a beginner. JDH - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] log in hist() and toggling
On Sat, May 24, 2008 at 6:02 PM, Olle EngdegÄrd <[EMAIL PROTECTED]> wrote: > I very much miss the 'l' shortcut for toggling log/lin y-scale in the > trunk! I use it a lot. > > I suggest restoring it with something like > > if self.get_yscale() is ("log" or "linear"): >self.toggle_log_lineary() > else: pass > > I think most of time most people use log or linear scales. This seems reasonable, but when I tried to implement it it looked like the nan mask for the simple_plot.py example was sticky, eg when I toggled back to linear the negative values were still masked. I tried a simpler example still (all positive y data) and got something very strange: the plotted y values appear to change on a toggle from log and back to linear: In [18]: import matplotlib.pyplot as plt In [19]: plt.close('all') In [20]: ax = plt.subplot(111) In [21]: ax.plot(np.random.rand(20)) Out[21]: [] In [22]: ax.set_yscale('linear'); ax.figure.canvas.draw() In [23]: ax.set_yscale('log'); ax.figure.canvas.draw() In [24]: ax.set_yscale('linear'); ax.figure.canvas.draw() # the y data are now plotted differently I am not sure what is going on yet, but I'm sure Michael will chime in since I think we are seeing some funkiness in the new transforms and path infrastructure. > The new hist() function looks really good, I especially welcome the "step" > mode. A couple of comments: > > The latest svn incarnation doesn't allow for log scale in step-mode > (unless you set it manually). > > Also, I think the step-mode should have fill=False as default, otherwise > it does not look that much different from bar-mode. The nice thing about > step histograms is that you can put several of them in the same plot while > keeping it intelligible! Manuel is the developer behind these nice new changes to hist -- hopefully he can help you here. JDH - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel