Skip to content

Commit bd7bcad

Browse files
committed
Add replot call in BaseCrossSectionPlot
Fix #42
1 parent 9624f9e commit bd7bcad

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog #
22

3+
## Version 2.7.4 ##
4+
5+
In this release, test coverage is 80%.
6+
7+
🛠️ Bug fixes:
8+
9+
* [Issue #42](https://github.com/PlotPyStack/PlotPy/issues/42) - Image profiles: when moving/resizing image, profile plots are not refreshed
10+
311
## Version 2.7.3 ##
412

513
In this release, test coverage is 80%.

plotpy/panels/csection/csplot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def plot_axis_changed(self, plot: BasePlot) -> None:
231231
self.do_autoscale(replot=False, axis_id=self.Z_AXIS)
232232
vmin, vmax = plot.get_axis_limits(self.CS_AXIS)
233233
self.set_axis_limits(self.CS_AXIS, vmin, vmax)
234+
self.replot()
234235

235236
def is_shape_known(self, shape: Any) -> bool:
236237
"""Return whether shape is known

0 commit comments

Comments
 (0)