summarylogtreecommitdiffstats
path: root/fix_for_new_matplotlib.patch
blob: f9e7f2f359b26e66c1944d83fbc4277d674c3b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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()