diff options
author | Universebenzene | 2019-06-09 14:44:52 +0800 |
---|---|---|
committer | Universebenzene | 2019-06-09 14:44:52 +0800 |
commit | 1ef34b5ad9bcdef2a72cb45193f2607c5bd0ccc1 (patch) | |
tree | 23f63d3dff696ec4f916bbe7e01094c2d1d17883 /fix_for_new_matplotlib.patch | |
parent | c9374d7b0c97acffa1c117d1edd2ebdc7bc4b80b (diff) | |
download | aur-1ef34b5ad9bcdef2a72cb45193f2607c5bd0ccc1.tar.gz |
Update for new version of matplotlib
Diffstat (limited to 'fix_for_new_matplotlib.patch')
-rw-r--r-- | fix_for_new_matplotlib.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fix_for_new_matplotlib.patch b/fix_for_new_matplotlib.patch new file mode 100644 index 000000000000..e9221f4eda7f --- /dev/null +++ b/fix_for_new_matplotlib.patch @@ -0,0 +1,12 @@ +diff -ura a/pyspeckit/spectrum/fitters.py b/pyspeckit/spectrum/fitters.py +--- a/pyspeckit/spectrum/fitters.py 2018-07-12 23:37:07.000000000 +0800 ++++ b/pyspeckit/spectrum/fitters.py 2019-06-09 14:36:20.587282658 +0800 +@@ -1367,7 +1367,7 @@ + handletextpad=handletextpad, labelspacing=labelspacing, + frameon=frameon, fontsize=fontsize, **kwargs) + self.Spectrum.plotter.axis.add_artist(self.fitleg) +- self.fitleg.draggable(True) ++ self.fitleg.set_draggable(True) + if self.Spectrum.plotter.autorefresh: + self.Spectrum.plotter.refresh() + |