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

New stlye qt calls#2382

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mdboom merged 8 commits intomatplotlib:masterfromtacaswell:new_stlye_qt
Sep 10, 2013
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
use new-style for PyQt as well as PySide
  • Loading branch information
@tacaswell
tacaswell committedSep 7, 2013
commitdf3d8829c99f4ee4108b654e1b06121efd3e987c
5 changes: 1 addition & 4 deletionsexamples/user_interfaces/embedding_in_qt4.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,10 +64,7 @@ class MyDynamicMplCanvas(MyMplCanvas):
def __init__(self, *args, **kwargs):
MyMplCanvas.__init__(self, *args, **kwargs)
timer = QtCore.QTimer(self)
if use_pyside:
timer.timeout.connect(self.update_figure)
else:
QtCore.QObject.connect(timer, QtCore.SIGNAL("timeout()"), self.update_figure)
timer.timeout.connect(self.update_figure)
timer.start(1000)

def compute_initial_figure(self):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp