Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-07-21 Thread R Hattersley
On 20 July 2014 14:23, jamesramm wrote: > We cannot stick with the 'standard' CSS syntax by necessity, simply because > the standard CSS selectors and properties are defined from HTML and do not > match with matplotlib. > I.E we want to select by artist type, which doesn't exist in HTML and use >

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-07-21 Thread jamesramm
R Hattersley wrote > I'm not sure what it is about CSS syntax that isn't up to the job. > Forexample, SVG works with standard CSS syntax > (seehttp://www.w3.org/TR/SVG/styling.html#StylingWithCSS). Perhaps we just > havea different view of what constitutes CSS vs. HTML/SVG/whatever.The > example in

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-07-21 Thread Thomas Caswell
As a side note, SVG already has specs which extend css to apply to 2D graphics: www.w3.org/TR/SVGTiny12/styling.html so we don't need to entirely re-inventing the wheel. On Mon, Jul 21, 2014 at 9:48 AM, jamesramm wrote: > R Hattersley wrote > I'm not sure what it is about CSS syntax that isn't

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-07-21 Thread R Hattersley
On 21 July 2014 14:48, jamesramm wrote: > You've just noted it: Line2D isn't a CSS selector CSS doesn't define any particular element names - it just operates on element names in a document tree. So a standard CSS parser will work just as well with "line2d { ... }" as it would with "h1 { ... }"

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-07-21 Thread R Hattersley
On 21 July 2014 17:40, R Hattersley wrote: > In the case of two Axes, the CSS version would be: > > Axes#axes1 { > border: 1px solid black; > } > > Axes#axes2 { > border: 2px dashed green; > } > > Or if you want to borrow from more advanced selector syntax, you could do fun stuff like: Axes:

[matplotlib-devel] rc2 prep

2014-07-21 Thread Thomas Caswell
Once #3277 and #3284 get merged I think we will have squashed all the reported code bugs from rc1 (both are from me and need a second set of eyes). Can someone who understands the freetype code take a look at #3262 to see if we can relax the version requirement on the installation? Everything els