diff --git a/pyproject.toml b/pyproject.toml index c68585c3..09796c44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,13 +2,13 @@ requires = [ 'setuptools>=61', 'wheel', - 'pybind11>=2.4', + 'pybind11>=2.4, <=2.13.6', ] build-backend = 'setuptools.build_meta' [project] name = "ratapi" -version = "0.0.0.dev12" +version = "0.0.0.dev13" description = "Python extension for the Reflectivity Analysis Toolbox (RAT)" readme = "README.md" requires-python = ">=3.10" diff --git a/ratapi/utils/plotting.py b/ratapi/utils/plotting.py index dc1ade53..8225bd43 100644 --- a/ratapi/utils/plotting.py +++ b/ratapi/utils/plotting.py @@ -505,6 +505,7 @@ def update_plot(self, data): show_error_bar=self.show_error_bar, show_grid=self.show_grid, show_legend=self.show_legend, + shift_value=self.shift_value, animated=True, ) self.figure.canvas.draw()