Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
Milestone
@Thomas00010111

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 examplehttp://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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp