[Matplotlib-devel] Markup text

Nicolas P. Rougier Nicolas.Rougier at inria.fr
Fri Oct 14 13:17:47 EDT 2016


Thanks Thomas.

Just realized I've an old MEP (MEP28 https://github.com/matplotlib/matplotlib/pull/4384), should I create a MEP29 instead ? How do I know if someone else is already working on a different MEP 29 ?


Nicolas



> On 14 Oct 2016, at 16:06, Thomas Caswell <tcaswell at gmail.com> wrote:
> 
> Nicolas,
> 
> Put an a PR adding a file to https://github.com/matplotlib/matplotlib/tree/master/doc/devel/MEP is the current MEP procedure.
> 
> Tom
> 
> On Mon, Oct 10, 2016 at 1:09 AM Nicolas P. Rougier <Nicolas.Rougier at inria.fr> wrote:
> 
> 
> Based on the example rainbow_text.py in the gallery, I've tried to implement a simple markup extension to the text directive (see code below). It's far from complete but I would like to know if there's any interest in that and if it's worth making a MEP (and if yes, could someone remind me the procedure for doing that ?).
> 
> The idea is to be able to use pango-like markup text for quick/small changes of the text:
> 
> 
> Examples:
> 
> "Hello <b>world</b>!"
> "Hello <span color=blue>world</span>!"
> "Hello <span family=serif size=x-small>world</span>"
> 
> 
> Currently, the implementation only works for non-rotated text.
> 
> 
> Nicolas
> 
> 
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel



More information about the Matplotlib-devel mailing list