Re: [matplotlib-devel] Documentation: New plot directive
On Friday 13 June 2008 9:54:58 pm you wrote: > On Fri, Jun 13, 2008 at 3:20 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > I just deleted the static_figs directory from svn, and moved the contents > > into pyplots. The generated figures were committed to svn as well, so > > they should not be auto-generated. This way we can consistently use the > > nice plot directive to include all of our figures. I think there should > > be no problems with this transition, but if you see one, please let me > > know. > > I think we can make it work, but there are some minor hurdles. It is > a little brittle in my view to include auto-generated PNGs alongside > svn pngs because it makes cleaning hard (we currently have the same > problem in the _static dir with the mathtext pngs). How often does cleaning need to be done? Can "svn up" be a part of the cleaning process? > The other problem > is that when I went to implement your svg suggestion, which is a good > one (ditto for ps links), I bumped into some not implemented errors > since we don't have draw_tex for svg and some latex runtime problems > when I tried to build the ps since I don't have the right fonts. All > of this can be worked around, but it will take a little work. I have > to run now... > > We could have a little extra meta data stored, tagging certain files > that should not be auto-generated for certain extensions > Perhaps we should introduce a new plot directive option, much like > include-source, which could be used to suppress auto-gen, or exclude > certain targets. > > .. plot:: tex_unicode_demo.py > >:include-source: >:no-autogen: > > .. plot:: tex_unicode_demo.py > >:include-source: >:exclude-backends: svg, gdk > > I'll ponder this over the weekend. May I suggest a third alternative, :exclude-formats: instead of backends. Darren - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Skew-T
On Fri, Jun 13, 2008 at 3:28 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> Ryan: I'm sure you could do it, and it would be a nice contribution to >> the community. There's some IDL code here > Thanks. I also managed to find a matlab implementation, which was > straightforward to port over. I'm working on fleshing out the full Just a note of caution: if you want to write something that will be included in matplotlib or a toolkit, you need to be mindful of the licenses of code you are looking at. While matplotlib has replicated to an extent the names and signatures of many matlab functions, we haven't looked at any of their code. A lot of IDL and matlab code comes with restrictive licenses, so make sure you are not violating the terms of those licenses for any code that might be suitable for contribution. Thanks, JDH - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Skew-T
John Hunter wrote: > On Fri, Jun 13, 2008 at 3:28 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >>> Ryan: I'm sure you could do it, and it would be a nice contribution to >>> the community. There's some IDL code here > >> Thanks. I also managed to find a matlab implementation, which was >> straightforward to port over. I'm working on fleshing out the full > > Just a note of caution: if you want to write something that will be > included in matplotlib or a toolkit, you need to be mindful of the > licenses of code you are looking at. While matplotlib has replicated > to an extent the names and signatures of many matlab functions, we > haven't looked at any of their code. A lot of IDL and matlab code > comes with restrictive licenses, so make sure you are not violating > the terms of those licenses for any code that might be suitable for > contribution. Yeah, I'm aware of this. The code I mention, however, is taken from meteorology class assignment. Also, in this case, I'm really only using it for a reference on how to do the "skew" calculation. The code is *far* too ugly to directly port. :) I can appreciate the need for caution however. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] plot3d
I can't seem to get 3d plotting to work from the latest svn. I submitted a bug on this: http://sourceforge.net/tracker/index.php?func=detail&aid=1994049&group_id=80706&atid=560720 but I think the issue is more fundamental than an 'import' issue as I described it. Is this a quick fix or does there need to be a more substantial rewrite to get 3d plotting working again. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] plot3d
On Saturday 14 June 2008 20:11:00 T J wrote: > I can't seem to get 3d plotting to work from the latest svn. I > submitted a bug on this: > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1994049&group_id=8 >0706&atid=560720 > > but I think the issue is more fundamental than an 'import' issue as I > described it. Is this a quick fix or does there need to be a more > substantial rewrite to get 3d plotting working again. 3D plotting is not supported, and so it probably did not survive the transition to the new transforms in 0.98. Patches are welcome, but in the case of unsupported features, bug reports will probably not be addressed. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel