Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Nathaniel Smith
On Thu, Oct 14, 2010 at 7:51 AM, Fernando Perez wrote: > Well, the client can save a session to html, svgs and all: > > http://fperez.org/tmp/ipython-svg.xml > > If the svg has extra metadata embedded, this will preserve it.  The > author of the html saving works in genomics at UCSF, and he embeds

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 10:05 AM, Robert Kern wrote: > On 10/14/10 8:57 AM, Benjamin Root wrote: > > > My only concern about that approach -- if I understand it correctly -- is > that > > this path clipping would have to be redone at every change in view > limits. > > Wouldn't that mean that in o

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Robert Kern
On 10/14/10 8:57 AM, Benjamin Root wrote: > My only concern about that approach -- if I understand it correctly -- is that > this path clipping would have to be redone at every change in view limits. > Wouldn't that mean that in order to support panning and zooming, we would need > to keep an orig

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Fernando Perez
On Thu, Oct 14, 2010 at 6:04 AM, John Hunter wrote: > I believe the motivation here is in the separation of the ipython > kernel process from the shell process, eg so the kernel can be running > remotely and they can ship the image files across the wire.   Fernando > can clarify though. Indeed.

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 7:49 AM, Michael Droettboom wrote: > It looks like the QtSvg module is targeting SVG Tiny 1.2, which does not > support clipping: > > http://doc.qt.nokia.com/4.3/qtsvg.html > > SVG Tiny also limits a lot of the CSS styling things that matplotlib > makes use of -- though th

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread John Hunter
On Thu, Oct 14, 2010 at 7:49 AM, Michael Droettboom wrote: > I haven't had a chance to look at the new Qt shell in ipython yet -- but > is it necessary to go through a file?  Perhaps writing a native Qt4 I believe the motivation here is in the separation of the ipython kernel process from the sh

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Michael Droettboom
It looks like the QtSvg module is targeting SVG Tiny 1.2, which does not support clipping: http://doc.qt.nokia.com/4.3/qtsvg.html SVG Tiny also limits a lot of the CSS styling things that matplotlib makes use of -- though those things are probably easier to workaround if necessary. So, it's n

[matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-13 Thread Fernando Perez
Hi folks, [CC'ing mpl-dev just for reference so they know we're taking care of this on our side] I've been investigating further the bug where clipped paths in SVG render wrong in our console. It turns out the mpl team already fixed some things on their side, and I can confirm that their SVGs no