Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Thomas00010111 opened this issue Jun 22, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@Thomas00010111
Copy link

commented Jun 22, 2016

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

@jenshnielsen

This comment has been minimized.

Copy link
Member

commented Jun 23, 2016

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

@Thomas00010111

This comment has been minimized.

Copy link
Author

commented Jun 23, 2016

Ok. Created pull request

@anntzer

This comment has been minimized.

Copy link
Contributor

commented Jan 11, 2018

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

@anntzer anntzer closed this Jan 11, 2018

@QuLogic QuLogic added this to the v2.2 milestone Jan 11, 2018

@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.