Skip to content

Commit

Permalink
Merge pull request slaclab#1069 from flowln/fix_pyqtgraph_0_13_4
Browse files Browse the repository at this point in the history
Fix plotting on pyqtgraph 0.13.4
  • Loading branch information
jbellister-slac authored Apr 9, 2024
2 parents abdaa14 + c542d71 commit a4a3685
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydm/widgets/multi_axis_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from collections import Counter
from pyqtgraph import AxisItem, PlotDataItem, PlotItem, ViewBox
from typing import List, Optional
from qtpy.QtCore import Qt
from .multi_axis_viewbox import MultiAxisViewBox
from .multi_axis_viewbox_menu import MultiAxisViewBoxMenu
from ..utilities import is_qt_designer
Expand Down Expand Up @@ -36,7 +37,7 @@ def __init__(self, parent=None, axisItems=None, **kargs):
# in order to support multiple axes on the same plot. This set will remain empty if the plot has only
# one set of axes
self.stackedViews = weakref.WeakSet()
viewBox.sigResized.connect(self.updateStackedViews)
viewBox.sigResized.connect(self.updateStackedViews, Qt.QueuedConnection)

# Signals that will be emitted when mouse wheel or mouse drag events happen
self.vb.sigMouseDragged.connect(self.handleMouseDragEvent)
Expand Down

0 comments on commit a4a3685

Please sign in to comment.