: jamesramm [jamessr...@gmail.com]
Sent: Friday, September 05, 2014 7:00 AM
To: matplotlib-devel@lists.sourceforge.net
Subject: Re: [matplotlib-devel] MEP26: Artist-level stylesheets
It would be great if we can see the code for the style system.
However, for integration into MPL, rather than something
It would be great if we can see the code for the style system.
However, for integration into MPL, rather than something which 'sits on top'
of the existing API (I presume you are therefore working with getter/setter
functions), the MEP I'm proposing is also trying to achieve the seperation
of the
be incorporated back into
MPL, we can work on making the code for the style system available.
Ted
From: jamesramm [jamessr...@gmail.com]
Sent: Sunday, August 10, 2014 12:40 AM
To: matplotlib-devel@lists.sourceforge.net
Subject: Re: [matplotlib-devel] MEP26: Artist
I have updated MEP26 to include discussion on 'decoupling' the style from
artists and having a generic Style class.
(copied over from the github issue):
I have been thinking that a good way to get stylesheets in, would be if the
'style' of an artist was entirely independent.
I.E a single
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 the
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 jamessr...@gmail.com wrote:
R Hattersley wrote
I'm not sure what it is about CSS
On 21 July 2014 14:48, jamesramm jamessr...@gmail.com 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
On 21 July 2014 17:40, R Hattersley rhatters...@gmail.com 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