image output in matplotlib

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mart_jeeha

    #1

    image output in matplotlib

    Hey folks,

    I got a problem in printing images from a matplotlib - FigureCanvas
    Object (child of a wxFrame, library backend_wx) into jpeg-formatted
    files. (I like to create a sequence of images that I can assemble to an
    avi)
    self.mycanvas.p rint_figure("te st.jpg") merely gives an error stating,
    that there should be "an image handler of type 17", which I didn't
    come across ever :)

    No idea about the handles, does anybody has any hint how to proceed ?
    (or any thread I missed to grab..)

    thanks a lot and cheers,

    Martin

  • John Hunter

    #2
    Re: image output in matplotlib

    >>>>"mart" == mart jeeha <buchstaebchen@ googlemail.comw rites:

    martHey folks, I got a problem in printing images from a
    martmatplotlib - FigureCanvas Object (child of a wxFrame,
    martlibrary backend_wx) into jpeg-formatted files. (I like to
    martcreate a sequence of images that I can assemble to an avi)
    martself.mycanv as.print_figure ("test.jpg") merely gives an error
    martstating, that there should be "an image handler of type 17",
    martwhich I didn't come across ever :)

    Was your wx built with jpeg support? You might try png, which
    matplotlib supports natively.

    JDH

    Comment

    Working...