Skip to content

Commit

Permalink
Merge pull request #1036 from mantidproject/1035_matplotlib_3_9
Browse files Browse the repository at this point in the history
Upgrade matplotlib to version 3.9.2
  • Loading branch information
SilkeSchomann authored Dec 2, 2024
2 parents dd1b6b5 + d489f6e commit 846bcb0
Show file tree
Hide file tree
Showing 3 changed files with 389 additions and 144 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools == 75.1.0", # >= 65.0.0",
requires = ["setuptools == 75.1.0",
"wheel",
"versioningit",]
build-backend = "setuptools.build_meta"
Expand All @@ -22,7 +22,7 @@ classifiers = [
dependencies = [
"ipython",
"numpy",
"matplotlib>=3.8.4",
"matplotlib>=3.9.2",
"six",
"qtawesome",
"pre-commit",
Expand Down
4 changes: 2 additions & 2 deletions src/mslice/plotting/plot_window/cut_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ def _apply_offset(self, x, y):
for line in line_containers.get_children():
line not in self._waterfall_cache and self._cache_line(line)
if isinstance(line, Line2D):
line.set_xdata(self._waterfall_cache[line][0] + ind * x)
line.set_ydata(self._waterfall_cache[line][1] + ind * y)
line.set_xdata([self._waterfall_cache[line][0] + ind * x])
line.set_ydata([self._waterfall_cache[line][1] + ind * y])
elif isinstance(line, LineCollection):
for index, path in enumerate(line._paths):
if not np.isnan(path.vertices).any():
Expand Down
Loading

0 comments on commit 846bcb0

Please sign in to comment.