Re: [matplotlib-devel] github workflow

2011-09-01 Thread Fernando Perez
On Wed, Aug 31, 2011 at 20:16, Matthew Brett  wrote:
> The issue being - why not have all the development branches in the
> same main repo?
>
> Because:
>
> a) Everyone needs write access to the main repo
> b) It's much less tempting to start experimental and highly unstable branches
> c) You can get a very similar effect by adding remotes to your own repo.
> d) It only very slightly simplifies an unusual case (what's developer
> X working on today?).

Limited internet access here, so no time for a long discussoin... Just
to say that I'm totally in agreement with Matthew here.

We only make branches in the main ipython repo under exceptional
circumstances, when there's a major piece of  work that requires
multiple-developer commit collaboration to beat into shape and
cross-pulling from personal repos would just get annoying.  But once
those are ready and merge we delete them as visible branches right
away.

For example, since we moved to github, we've only done this *twice*:
once for the big parallel rewrite, and once for the notebook work.
Both of these were *major* efforts that took months to shape up, so it
made sense to have them in there.  But we make such a decision only
for such special cases, otherwise following the workflow Matthew
points out seems to work really well.

Once you get into the habit of using multiple remotes to get a handle
of an entire team's worth of contributions to a  project, you realize
how simple and effective it is.

Cheers,

f

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Issue with colored latex text on plots

2011-09-01 Thread Michael Gilbert
John Hunter wrote:

> On Wed, Aug 31, 2011 at 8:49 PM, John Hunter  wrote:
> 
> >> Note that I'm not subscribed to this list, so please CC me on replies.
> >
> > That won't work because mpl converts all tex png raster to black and
> > white and handles color on its own in post-processing.  The following
> > does work:
[...]
> But since you set usetex, you shouldn't need the $ escapes and the
> literal rm font.  It should be enough to do:
> 
> pylab.title( r'colored title wanted 2.5', color='blue' )\

Hi,

Thanks for the insight.  What I'm really trying to get is multiple
colors in the title text.  For example, if mpl didn't convert all text
to black, I would want the following to produce blue and red text:

  pylab.rc( 'text' , usetex=True )
  pylab.rc( 'text.latex' , preamble='\usepackage[usenames]{color}' )
  pylab.title( '\\textcolor{Blue}{blue part} \\textcolor{Red}{red part}')

Is there a particular reason why mpl has to convert png colored text
to black and white?

Best wishes,
Mike

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel