Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
7a7288b6
Commit
7a7288b6
authored
May 28, 2013
by
Luke Campagnola
Browse files
Fixed documentation for 'uver/under' in DockArea
Configure matplotlib to use PySide in MatplotlibWidget
parent
ee0825d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.txt
View file @
7a7288b6
...
...
@@ -2,10 +2,16 @@ PyQtGraph - A pure-Python graphics library for PyQt/PySide
Copyright 2012 Luke Campagnola, University of North Carolina at Chapel Hill
http://www.pyqtgraph.org
Authors
:
Maintainer
:
Luke Campagnola ('luke.campagnola@%s.com' % 'gmail')
Contributors:
Megan Kratz
Paul Manis
Ingo Breßler
Christian Gavin
Michael Cristopher Hogg
Ulrich Leutner
Requirements:
PyQt 4.7+ or PySide
...
...
pyqtgraph/dockarea/DockArea.py
View file @
7a7288b6
...
...
@@ -40,11 +40,11 @@ class DockArea(Container, QtGui.QWidget, DockDrop):
Arguments:
dock The new Dock object to add. If None, then a new Dock will be
created.
position 'bottom', 'top', 'left', 'right', 'ove
r
', or '
under
'
position 'bottom', 'top', 'left', 'right', '
ab
ove', or '
below
'
relativeTo If relativeTo is None, then the new Dock is added to fill an
entire edge of the window. If relativeTo is another Dock, then
the new Dock is placed adjacent to it (or in a tabbed
configuration for 'ove
r
' and '
under
').
configuration for '
ab
ove' and '
below
').
=========== =================================================================
All extra keyword arguments are passed to Dock.__init__() if *dock* is
...
...
@@ -316,4 +316,4 @@ class DockArea(Container, QtGui.QWidget, DockDrop):
DockDrop
.
dropEvent
(
self
,
*
args
)
\ No newline at end of file
pyqtgraph/widgets/MatplotlibWidget.py
View file @
7a7288b6
from
pyqtgraph.Qt
import
QtGui
,
QtCore
from
pyqtgraph.Qt
import
QtGui
,
QtCore
,
USE_PYSIDE
import
matplotlib
if
USE_PYSIDE
:
matplotlib
.
rcParams
[
'backend.qt4'
]
=
'PySide'
from
matplotlib.backends.backend_qt4agg
import
FigureCanvasQTAgg
as
FigureCanvas
from
matplotlib.backends.backend_qt4agg
import
NavigationToolbar2QTAgg
as
NavigationToolbar
from
matplotlib.figure
import
Figure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment