Skip to content

Error in example http://matplotlib.org/examples/misc/multiprocess.html #6626

Closed

Description

@Thomas00010111

Do not know if this is the right place because it is not a bug in the library but in the examples.
Tried to run the example http://matplotlib.org/examples/misc/multiprocess.html and I think it would be good to make the following changes:

remove dependencies to gobject

matplotlib.use('GtkAgg')

import gobject

return return call_back()
instead of return call_back

use different timer

self.gid = gobject.timeout_add(1000, self.poll_draw())

timer = self.fig.canvas.new_timer(interval=1000)
timer.add_callback(self.poll_draw)
timer.start()

Cheers,
Thomas

Activity

  1. jenshnielsen commented on Jun 23, 2016

    @jenshnielsen
    Member

    That sounds sensible. Are you willing to put your changes into a pull request that we can test and review?

  2. Thomas00010111 commented on Jun 23, 2016

    @Thomas00010111
    Author

    Ok. Created pull request

  3. anntzer commented on Jan 11, 2018

    @anntzer
    Contributor

    Closed by #9900 (and a few remaining bits in #10168).

  4. added this to the milestone on Jan 11, 2018
  5. modified the milestones: , v2.2.0 on Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions