Skip to content

Commit 4673204

Browse files
committed
fix: restore Alt+Mousemove cross-section update on images
Regression introduced in a522dcb ("Cross section plots: fixed historic flaw"), first released in v2.1.0. Closes #68
1 parent c5c1213 commit 4673204

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plotpy/panels/csection/csplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def connect_plot(self, plot: BasePlot) -> None:
436436
)
437437

438438

439-
class XCrossSectionPlot(HorizontalCrossSectionPlot, XYCrossSectionMixin):
439+
class XCrossSectionPlot(XYCrossSectionMixin, HorizontalCrossSectionPlot):
440440
"""X-axis cross section plot"""
441441

442442
_HEIGHT = 130
@@ -450,7 +450,7 @@ def create_cross_section_item(self) -> XCrossSectionItem:
450450
return XCrossSectionItem(self.param)
451451

452452

453-
class YCrossSectionPlot(VerticalCrossSectionPlot, XYCrossSectionMixin):
453+
class YCrossSectionPlot(XYCrossSectionMixin, VerticalCrossSectionPlot):
454454
"""Y-axis cross section plot"""
455455

456456
_WIDTH = 140

0 commit comments

Comments
 (0)