Now I understand wot you mean when you say matplotlib backend! :)
sorry eventually I got the point... anyway thats great, using the same
code that matplotlib use, and at the end be able to decide to plot a
pretty
png, render a javascript that uses FLOT or maybe a good PDF for
inclusion
in latex document... or even better using same pstrick and output
directly the graph into latex...

I will open the matplob lib code and I'll try to understand how it
manage
the varoius backends and hopefully write a simple FLOT render... just
for fun and to see if the community like it!

On 27 Feb, 22:36, Jason Grout <jason-s...@creativetrax.com> wrote:
> Kenny wrote:
> > I think I'm missing the point, is a canvas matplolib backend able to
> > work
> > as client side plotting render?? I've seen the @interact method and
>
> I think so.  I see the canvas backend as behaving like the normal GUI
> backends to matplotlib, which allow panning, zooming, picking points,
> etc.  The infrastructure is already there in matplotlib.  Someone just
> needs to write code that:
>
>   * Renders a path, given a bunch of points
>   * Renders text
>   * handles user events and passes them back to matplotlib (hmmm...we
> want to avoid that round-trip, so maybe we might have to restrict
> ourselves to panning/zooming...)
>
> It seems interesting to also make a FLOT backend to matplotlib, so that
> the paths and text given actually write FLOT javascript code to render
> the plot.  Basically, instead of rendering a png, you'd be rendering to
> code for a FLOT instance.
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to