10000 New subplottool and various fixes by rhoef · Pull Request #2112 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

New subplottool and various fixes #2112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
interdivsion fixed and spaces removed
Conflicts:
	lib/matplotlib/backends/backend_qt4.py
  • Loading branch information
rhoef authored and twmr committed Oct 26, 2013
commit bf5dfcd87619b75e166928e4e48260b31dc26a23
6 changes: 3 additions & 3 deletions lib/matplotlib/backends/backend_qt4.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def draw_rubberband(self, event, x0, y0, x1, y1):

def configure_subplots(self):
image = os.path.join(matplotlib.rcParams['datapath'],
'images','matplotlib.png')
'images', 'matplotlib.png')
dia = SubplotToolQt(self.canvas.figure, self.parent)
dia.setWindowIcon(QtGui.QIcon(image))
dia.exec_()
Expand Down Expand Up @@ -792,7 +792,7 @@ def _setSliderPositions(self):
def funcleft(self, val):
if val == self.sliderright.value():
val -= 1
val /= 1000
val /= 1000.
self.targetfig.subplots_adjust(left=val)
self.leftvalue.setText("%.2f" %val)
if self.drawon:
Expand All @@ -819,7 +819,7 @@ def funcbottom(self, val):
def functop(self, val):
if val == self.sliderbottom.value():
val += 1
val /= 1000.0
val /= 1000.
self.targetfig.subplots_adjust(top=val)
self.topvalue.setText("%.2f" %val)
if self.drawon:
Expand Down
0